ApiKey represents a user-generated API key.
- idGlobally unique ID of the API key.
- adminShould tokens generated from this API key have admin permissions?
- createdAtCreation timestamp.
- creatorThe creator of the API key.
- deletedIndicates whether the API key is deleted.
- lastUsedAtLast usage (token generation) timestamp, if any.
- nameHuman-readable name of this API key.
- oidcSettingsApiKeyOIDCSettingsThe OIDC settings for this API key.
- secretAPI key secret - only visible when the key is created and not persisted on Spacelift end. Make sure to save it!
- teamCountNumber of teams this key "belongs to"
- teamsList of teams this key "belongs to". This allows non-admin API keys to be treated the same way as regular users by stack-level policies.
- spaceCountNumber of spaces api key was explicitly given permissions to.
- accessRules[SpaceAccessRule!]!List of permissions given explicitly to this api key.
- isMachineUserIndicates whether the api key is a machine user.
- typeAPIKeyTypeType of the API key.
- descriptionFree-form description of the API key.