Class: Swa::KMS::Alias

Inherits:
Record
  • Object
show all
Defined in:
lib/swa/kms/alias.rb

Instance Method Summary collapse

Methods inherited from Record

#data, #initialize, list

Constructor Details

This class inherits a constructor from Swa::Record

Instance Method Details

#keyObject



19
20
21
# File 'lib/swa/kms/alias.rb', line 19

def key
  aws_record.target_key_id
end

#nameObject



15
16
17
# File 'lib/swa/kms/alias.rb', line 15

def name
  aws_record.alias_name
end

#summaryObject



8
9
10
11
12
13
# File 'lib/swa/kms/alias.rb', line 8

def summary
  [
    pad(name, 36),
    key
  ].join("  ")
end