Export (0) Print
Expand All

KeyCredential

Updated: April 21, 2014

Applies To: Azure AD Graph.

This topic provides descriptions of the properties of the KeyCredential complex type. The KeyCredential type contains a key credential associated with an application or a service principal.

Azure AD Graph exposes metadata that describes the directory as an Entity Data Model (EDM) using Conceptual Schema Definition Language (CSDL). You can view the metadata exposed for your tenant by performing an HTTP GET from the following URL: https://graph.windows.net/yourTenantDomain/$metadata?api-version=2013-04-05. Replace yourTenantDomain with the domain of your tenant; for example, https://graph.windows.net/contoso.onmicrosoft.com/$metadata?api-version=2013-04-05. For more information about the EDM and CSDL, see Entity Data Model.

The KeyCredential complex type is defined as follows:

Namespace: Microsoft.WindowsAzure.ActiveDirectory

Type Properties

Name Type Notes Read/Write Description

customKeyIdentifier

Edm.Binary

endDate

Edm.DateTime

The date and time at which the credential expires.

keyId

Edm.Guid

The unique identifier (GUID) for the key.

startDate

Edm.DateTime

The date and time at which the credential becomes valid.

type

Edm.String

The type of key credential; for example, “Symmetric”.

usage

Edm.String

A string that describes the purpose for which the key can be used; for example, “Verify”.

value

Edm.String

For information about the primitive types exposed by the EDM, see Entity Data Model: Primitive Data Types.

The keyCredentials property of the Application and ServicePrincipal entities is a collection of KeyCredential.

See Also

Show:
© 2014 Microsoft