manheim / awssume

rubygem for running a command with AWS AssumeRole credentials
MIT License
25 stars 11 forks source link

Use AssumeRoleCredentials for auto-refreshing tokens #12

Open reid-harrison opened 3 years ago

reid-harrison commented 3 years ago

https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/lib/aws-sdk-core/assume_role_credentials.rb

Could be used in place of the existing assume_role call: https://github.com/manheim/awssume/blob/master/lib/awssume/adapter/aws_client.rb#L14