AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1991

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


1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1991

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)


1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1991

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)


1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1991

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


1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1991

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