Closed wilddog64 closed 9 years ago
If you don't specify a accessKey and secretKey, and you are running on ec2, then the IAM profile of the instance you are on will be used.
(the readme probably needs to be updated, but you can see here the plugin mentions this in the configuration page: https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/blob/master/src/main/java/com/dtolabs/rundeck/plugin/resources/ec2/EC2ResourceModelSourceFactory.java#L90 )
That's cool. Thanks for this info.
Currently the document specifies that this plugin will need to provide accessKey and secretKey in order to talk to AWS. Can this be extended to use IAM profile? This way, there is no need to explicitly store a pair of access and secret keys if the instance host rundeck is an EC2 node. Some applications will switch to IAM role if access key and secret key are not provided.