Class: Stax::Aws::Kms

Inherits:
Sdk
  • Object
show all
Defined in:
lib/stax/aws/kms.rb

Constant Summary

Constants inherited from Sdk

Sdk::RETRY_LIMIT

Class Method Summary collapse

Methods inherited from Sdk

paginate

Class Method Details

.clientObject



9
10
11
# File 'lib/stax/aws/kms.rb', line 9

def client
  @_client ||= ::Aws::KMS::Client.new
end

.describe(id) ⇒ Object



13
14
15
# File 'lib/stax/aws/kms.rb', line 13

def describe(id)
  client.describe_key(key_id: id).
end