Class: Stax::Cmd::Kms

Inherits:
SubCommand show all
Defined in:
lib/stax/mixin/kms.rb

Instance Method Summary collapse

Methods inherited from SubCommand

#info, stax_info, stax_info_tasks

Instance Method Details

#lsObject



21
22
23
24
25
26
# File 'lib/stax/mixin/kms.rb', line 21

def ls
  print_table stack_kms_keys.map { |r|
    k = Aws::Kms.describe(r.physical_resource_id)
    [k.key_id, k.key_state, k.creation_date, k.description]
  }
end