ServicePrincipalKeyCredentials

GET /{tenantID}/servicePrincipals/{objectId}/keyCredentials

Get the keyCredentials associated with the specified service principal.

Request

  • Base URL
    https://graph.windows.net
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

objectIdstring required

The object ID of the service principal for which to get keyCredentials.

tenantIDstring required

The tenant ID.

Query parameters

api-versionstring required

Client API version.

Response

OK. The operation was successful.

Changes

No recorded changes to this operation across all 17 revisions of this API.