class
Amazonite::SecretsManager::GetSecretValueRequest
- Amazonite::SecretsManager::GetSecretValueRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
secrets_manager/get_secret_value_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(secret_id : String, version_id : String | Nil = nil, version_stage : 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. -
#hash(hasher)
See
Object#hash(hasher) -
#secret_id : String
The ARN or name of the secret to retrieve.
-
#secret_id=(secret_id : String)
The ARN or name of the secret to retrieve.
- #validate! : Nil
-
#version_id : String | Nil
The unique identifier of the version of the secret to retrieve.
-
#version_id=(version_id : String | Nil)
The unique identifier of the version of the secret to retrieve.
-
#version_stage : String | Nil
The staging label of the version of the secret to retrieve.
-
#version_stage=(version_stage : String | Nil)
The staging label of the version of the secret to retrieve.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
The unique identifier of the version of the secret to retrieve. If you include both this
parameter and VersionStage, the two parameters must refer to the same secret version. If you
don't specify either a VersionStage or VersionId, then Secrets Manager returns the
AWSCURRENT version.
This value is typically a UUID-type value with 32 hexadecimal digits.
The unique identifier of the version of the secret to retrieve. If you include both this
parameter and VersionStage, the two parameters must refer to the same secret version. If you
don't specify either a VersionStage or VersionId, then Secrets Manager returns the
AWSCURRENT version.
This value is typically a UUID-type value with 32 hexadecimal digits.
The staging label of the version of the secret to retrieve.
Secrets Manager uses staging labels to keep track of different versions during the rotation
process. If you include both this parameter and VersionId, the two parameters must refer to
the same secret version. If you don't specify either a VersionStage or VersionId, Secrets
Manager returns the AWSCURRENT version.
The staging label of the version of the secret to retrieve.
Secrets Manager uses staging labels to keep track of different versions during the rotation
process. If you include both this parameter and VersionId, the two parameters must refer to
the same secret version. If you don't specify either a VersionStage or VersionId, Secrets
Manager returns the AWSCURRENT version.