Class: AwsKeychain::Plugin::Iam
- Inherits:
-
Object
- Object
- AwsKeychain::Plugin::Iam
- Defined in:
- lib/plugins/iam/aws_keychain_plugin_iam.rb
Instance Method Summary collapse
- #actions ⇒ Object
-
#initialize(options = {}) ⇒ Iam
constructor
A new instance of Iam.
- #short_name ⇒ Object
- #show(key) {|<<EOF AWSAccessKeyId=#{key['key']} AWSSecretKey=#{key['secret']} EOF| ... } ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Iam
Returns a new instance of Iam.
25 26 27 |
# File 'lib/plugins/iam/aws_keychain_plugin_iam.rb', line 25 def initialize(={}) end |
Instance Method Details
#actions ⇒ Object
29 30 31 |
# File 'lib/plugins/iam/aws_keychain_plugin_iam.rb', line 29 def actions ["show"] end |
#short_name ⇒ Object
33 34 35 |
# File 'lib/plugins/iam/aws_keychain_plugin_iam.rb', line 33 def short_name "iam" end |
#show(key) {|<<EOF AWSAccessKeyId=#{key['key']} AWSSecretKey=#{key['secret']} EOF| ... } ⇒ Object
37 38 39 40 41 42 |
# File 'lib/plugins/iam/aws_keychain_plugin_iam.rb', line 37 def show(key, &block) yield <<EOF AWSAccessKeyId=#{key['key']} AWSSecretKey=#{key['secret']} EOF end |