SDK reference / Models

Models.ServiceAccounts namespace

Types

TypeKindDescription
ApiKeyclassAn API key. The credential is returned once, at creation.
ApiKeyInfoclassAn API key as the list shows it: never its credential.
ApiKeyInfo_stateenumACTIVE until it expires or is revoked.
ApiKeyListclassThe keys of a service account, newest first, without their credentials (personal access tokens included).
CreateApiKeyRequestclass
CreateConsoleS3KeyRequestclass
CreateHmacKeyRequestclass
CreatePersonS3KeyRequestclass
HmacKeyclassA new HMAC key for S3 (ADR-0209): the access key ID is public; the secret access key is in this answer only.
HmacKeyInfoclassAn HMAC key for S3 (ADR-0209), without its secret: what list and delete answer.
HmacKeyInfo_stateenumACTIVE until it expires or is deleted.
HmacKeyListclass
HmacKey_stateenumACTIVE until it expires or is deleted.
PersonS3KeyclassA new person's S3 key: the access key ID is public; the secret access key is in this answer only.
PersonS3KeyInfoclassA person's S3 key (proposed ADR, extends ADR-0209 and ADR-0501), without its secret: what list and delete answer. It acts as its person: the S3 endpoint asks IAM about that person only.
PersonS3KeyInfo_purposeenumpersonal (shown once, lives up to 365 days) or console (the console's own short-lived key, never shown).
PersonS3KeyInfo_stateenumACTIVE until it expires or is deleted.
PersonS3KeyListclassThe caller's own S3 keys in the project.
PersonS3Key_purposeenumpersonal (shown once, lives up to 365 days) or console (the console's own short-lived key, never shown).
PersonS3Key_stateenumACTIVE until it expires or is deleted.
RotateHmacKeyRequestclass
RotatePersonS3KeyRequestclass
ServiceAccountclassA non-human principal of one project; it holds roles through IAM bindings.
ServiceAccountListclass