class
Amazonite::SecretsManager::SecretVersionsListEntry
- Amazonite::SecretsManager::SecretVersionsListEntry
- Reference
- Object
Overview
A structure that contains information about one version of a secret.
Included Modules
- JSON::Serializable
Defined in:
secrets_manager/secret_versions_list_entry.crConstructors
- .new(pull : JSON::PullParser)
- .new(version_id : String | Nil = nil, version_stages : Array(String) | Nil = nil, last_accessed_date : Time | Nil = nil, created_date : Time | Nil = nil, kms_key_ids : Array(String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#created_date : Time | Nil
The date and time this version of the secret was created.
-
#created_date=(created_date : Time | Nil)
The date and time this version of the secret was created.
-
#hash(hasher)
See
Object#hash(hasher) -
#kms_key_ids : Array(String) | Nil
The KMS keys used to encrypt the secret version.
-
#kms_key_ids=(kms_key_ids : Array(String) | Nil)
The KMS keys used to encrypt the secret version.
-
#last_accessed_date : Time | Nil
The date that this version of the secret was last accessed.
-
#last_accessed_date=(last_accessed_date : Time | Nil)
The date that this version of the secret was last accessed.
- #validate! : Nil
-
#version_id : String | Nil
The unique version identifier of this version of the secret.
-
#version_id=(version_id : String | Nil)
The unique version identifier of this version of the secret.
-
#version_stages : Array(String) | Nil
An array of staging labels that are currently associated with this version of the secret.
-
#version_stages=(version_stages : Array(String) | Nil)
An array of staging labels that are currently associated with this version of the secret.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The date and time this version of the secret was created.
The KMS keys used to encrypt the secret version.
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
The unique version identifier of this version of the secret.
An array of staging labels that are currently associated with this version of the secret.
An array of staging labels that are currently associated with this version of the secret.