class
Amazonite::SecretsManager::SecretValueEntry
- Amazonite::SecretsManager::SecretValueEntry
- Reference
- Object
Overview
A structure that contains the secret value and other details for a secret.
Included Modules
- JSON::Serializable
Defined in:
secrets_manager/secret_value_entry.crConstructors
- .new(pull : JSON::PullParser)
- .new(arn : String | Nil = nil, name : String | Nil = nil, version_id : String | Nil = nil, secret_binary : Bytes | Nil = nil, secret_string : String | Nil = nil, version_stages : Array(String) | Nil = nil, created_date : Time | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#arn : String | Nil
The Amazon Resource Name (ARN) of the secret.
-
#arn=(arn : String | Nil)
The Amazon Resource Name (ARN) of the secret.
-
#created_date : Time | Nil
The date the secret was created.
-
#created_date=(created_date : Time | Nil)
The date the secret was created.
-
#hash(hasher)
See
Object#hash(hasher) -
#name : String | Nil
The friendly name of the secret.
-
#name=(name : String | Nil)
The friendly name of the secret.
-
#secret_binary : Bytes | Nil
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array.
-
#secret_binary=(secret_binary : Bytes | Nil)
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array.
-
#secret_string : String | Nil
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
-
#secret_string=(secret_string : String | Nil)
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
- #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
A list of all of the staging labels currently attached to this version of the secret.
-
#version_stages=(version_stages : Array(String) | Nil)
A list of all of the staging labels currently attached to this version of the secret.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
The unique version identifier of this version of the secret.
A list of all of the staging labels currently attached to this version of the secret.
A list of all of the staging labels currently attached to this version of the secret.