class Amazonite::SecretsManager::SecretVersionsListEntry

Overview

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

Included Modules

Defined in:

secrets_manager/secret_versions_list_entry.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(version_id : String | Nil = nil, version_stages : Array(String) | Nil = nil, last_accessed_date : Time | Nil = nil, created_date : Time | Nil = nil, kms_key_ids : Array(String) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 created_date : Time | Nil #

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


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

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


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

See Object#hash(hasher)


def kms_key_ids : Array(String) | Nil #

The KMS keys used to encrypt the secret version.


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

The KMS keys used to encrypt the secret version.


[View source]
def last_accessed_date : Time | Nil #

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.


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

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.


[View source]
def validate! : Nil #

[View source]
def version_id : String | Nil #

The unique version identifier of this version of the secret.


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

The unique version identifier of this version of the secret.


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

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


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

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


[View source]