Resource: SecretVersion
A secret version resource in the Secret Manager API.
JSON representation |
---|
{
"name": string,
"createTime": string,
"destroyTime": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the
|
createTime |
Output only. The time at which the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
destroyTime |
Output only. The time this A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The current state of the |
State
The state of a SecretVersion
, indicating if it can be accessed.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not specified. This value is unused and invalid. |
ENABLED |
The SecretVersion may be accessed. |
DISABLED |
The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state. |
DESTROYED |
The SecretVersion is destroyed and the secret data is no longer stored. A version may not leave this state once entered. |
Methods |
|
---|---|
|
Accesses a SecretVersion . |
|
Destroys a SecretVersion . |
|
Disables a SecretVersion . |
|
Enables a SecretVersion . |
|
Gets metadata for a SecretVersion . |
|
Lists SecretVersions . |