Class: Aws::SecretsManager::Types::SecretValueEntry

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

A structure that contains the secret value and other details for a secret.

Constant Summary collapse

SENSITIVE =
[:secret_binary, :secret_string]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the secret.

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#created_dateTime

The date the secret was created.

Returns:

  • (Time)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#nameString

The friendly name of the secret.

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#secret_binaryString

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.

[1]: tools.ietf.org/html/rfc4648#section-4

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#secret_stringString

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

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#version_idString

The unique version identifier of this version of the secret.

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end

#version_stagesArray<String>

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

Returns:

  • (Array<String>)


2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2053

class SecretValueEntry < Struct.new(
  :arn,
  :name,
  :version_id,
  :secret_binary,
  :secret_string,
  :version_stages,
  :created_date)
  SENSITIVE = [:secret_binary, :secret_string]
  include Aws::Structure
end