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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-secretsmanager/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)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1892

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>)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1892

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)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1892

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)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1892

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>)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1892

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