Module: Eaglenube::ApiWrapper::AWS::KeyPair

Included in:
Synchronizer::AWS::KeyPair::KeyPairSyncMethods
Defined in:
lib/eaglenube/api_wrapper/aws/key_pair.rb

Instance Method Summary collapse

Instance Method Details

#describe_key_pairs(credential, region_code) ⇒ Object



10
11
12
13
# File 'lib/eaglenube/api_wrapper/aws/key_pair.rb', line 10

def describe_key_pairs(credential, region_code)
  agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code)
  agent.describe_key_pairs.try(:key_pairs)
end