Skip to main content

Interface: IApiKeySpec

identity.v1.IApiKeySpec

Properties of an ApiKeySpec.

Implemented by

Properties

description

Optional description: null | string

The description of the API key.


disabled

Optional disabled: null | boolean

True if the API key is disabled.


displayName

Optional displayName: null | string

The display name of the API key.


expiryTime

Optional expiryTime: null | ITimestamp

The expiry time of the API key.


ownerId

Optional ownerId: null | string

The id of the owner to create the API key for. The owner id is immutable. Once set during creation, it cannot be changed. The owner id is the id of the user when the owner type is 'user'. The owner id is the id of the service account when the owner type is 'service-account'.


ownerType

Optional ownerType: null | string

The type of the owner to create the API key for. The owner type is immutable. Once set during creation, it cannot be changed. Possible values: user, service-account.