types
PasswordPayloadSpecification
passwordKey : string
key of the entry to store generated password value
length : int64
password length; by default, a reasonable length will be decided
includeUppercase : google.protobuf.BoolValue
whether at least one A..Z character is included in the password, true by default
includeLowercase : google.protobuf.BoolValue
whether at least one a..z character is included in the password, true by default
includeDigits : google.protobuf.BoolValue
whether at least one 0..9 character is included in the password, true by default
includePunctuation : google.protobuf.BoolValue
whether at least one punctuation character is included in the password, true by default punctuation characters by default (there are 32): !"#$%&'()*+,-./:;<=>?@[]1^_`{|}~ to customize the punctuation characters, see included_punctuation and excluded_punctuation below
includedPunctuation : string
If include_punctuation is true, one of these two fields (not both) may be used optionally to customize the punctuation: a string of specific punctuation characters to use (at most, all the 32)
excludedPunctuation : string
a string of punctuation characters to exclude from the default (at most 31, it's not allowed to exclude all the 32)
Payload
A payload.
Entry
key : string
Non-confidential key of the entry.
One of value
Confidential value of the entry.
versionId : string
ID of the version that the payload belongs to.
entries : Entry
Payload entries.
Secret
A secret that may contain several versions of the payload.
Status
STATUS_UNSPECIFIEDCREATINGThe secret is being created.
ACTIVEThe secret is active and the secret payload can be accessed. Can be set to INACTIVE using the [SecretService.Deactivate][2] method.
INACTIVEThe secret is inactive and unusable. Can be set to ACTIVE using the [SecretService.Deactivate][3] method.
id : string
ID of the secret.
folderId : string
ID of the folder that the secret belongs to.
createdAt : google.protobuf.Timestamp
Creation timestamp.
name : string
Name of the secret.
description : string
Description of the secret.
labels : string
Custom labels for the secret as key:value pairs. Maximum 64 per key.
kmsKeyId : string
Optional ID of the KMS key will be used to encrypt and decrypt the secret.
status : Status
Status of the secret.
currentVersion : Version
Current (i.e. the latest) version of the secret.
deletionProtection : bool
Flag that inhibits deletion of the secret.
One of payloadSpecification
passwordPayloadSpecification: PasswordPayloadSpecification
Version
Status
STATUS_UNSPECIFIEDACTIVEThe version is active and the secret payload can be accessed.
SCHEDULED_FOR_DESTRUCTIONThe version is scheduled for destruction, the time when it will be destroyed is specified in the [Version.destroy_at][4] field.
DESTROYEDThe version is destroyed and cannot be recovered.
id : string
ID of the version.
secretId : string
ID of the secret that the version belongs to.
createdAt : google.protobuf.Timestamp
Time when the version was created.
destroyAt : google.protobuf.Timestamp
Time when the version is going to be destroyed. Empty unless the status
is SCHEDULED_FOR_DESTRUCTION.
description : string
Description of the version.
status : Status
Status of the secret.
payloadEntryKeys : string
Keys of the entries contained in the version payload.
passwordPayloadSpecification: PasswordPayloadSpecification