class Amazonite::SecretsManager::GetSecretValueResponse

Included Modules

Defined in:

secrets_manager/get_secret_value_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def arn : String | Nil #

The ARN of the secret.


[View source]
def arn=(arn : String | Nil) #

The ARN of the secret.


[View source]
def created_date : Time | Nil #

The date and time that this version of the secret was created. If you don't specify which version in VersionId or VersionStage, then Secrets Manager uses the AWSCURRENT version.


[View source]
def created_date=(created_date : Time | Nil) #

The date and time that this version of the secret was created. If you don't specify which version in VersionId or VersionStage, then Secrets Manager uses the AWSCURRENT version.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String | Nil #

The friendly name of the secret.


[View source]
def name=(name : String | Nil) #

The friendly name of the secret.


[View source]
def 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. When you retrieve a SecretBinary using the HTTP API, the Python SDK, or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not encoded.

If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString instead.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.


[View source]
def 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. When you retrieve a SecretBinary using the HTTP API, the Python SDK, or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not encoded.

If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString instead.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.


[View source]
def secret_string : String | Nil #

The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.


[View source]
def 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.

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.


[View source]
def validate! : Nil #

[View source]
def version_id : String | Nil #

The unique identifier of this version of the secret.


[View source]
def version_id=(version_id : String | Nil) #

The unique identifier of this version of the secret.


[View source]
def version_stages : Array(String) | Nil #

A list of all of the staging labels currently attached to this version of the secret.


[View source]
def version_stages=(version_stages : Array(String) | Nil) #

A list of all of the staging labels currently attached to this version of the secret.


[View source]