Class: Aws::SecretsManager::Types::SecretVersionsListEntry

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

Overview

A structure that contains information about one version of a secret.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_dateTime

The date and time this version of the secret was created.

Returns:

  • (Time)

2215
2216
2217
2218
2219
2220
2221
2222
2223
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2215

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date,
  :kms_key_ids)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idsArray<String>

The KMS keys used to encrypt the secret version.

Returns:

  • (Array<String>)

2215
2216
2217
2218
2219
2220
2221
2222
2223
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2215

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date,
  :kms_key_ids)
  SENSITIVE = []
  include Aws::Structure
end

#last_accessed_dateTime

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.

Returns:

  • (Time)

2215
2216
2217
2218
2219
2220
2221
2222
2223
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2215

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date,
  :kms_key_ids)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

The unique version identifier of this version of the secret.

Returns:

  • (String)

2215
2216
2217
2218
2219
2220
2221
2222
2223
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2215

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date,
  :kms_key_ids)
  SENSITIVE = []
  include Aws::Structure
end

#version_stagesArray<String>

An array of staging labels that are currently associated with this version of the secret.

Returns:

  • (Array<String>)

2215
2216
2217
2218
2219
2220
2221
2222
2223
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2215

class SecretVersionsListEntry < Struct.new(
  :version_id,
  :version_stages,
  :last_accessed_date,
  :created_date,
  :kms_key_ids)
  SENSITIVE = []
  include Aws::Structure
end