Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Configuration Profiles and assume roles #29

Open
cdenneen opened this issue Feb 22, 2017 · 2 comments
Open

AWS Configuration Profiles and assume roles #29

cdenneen opened this issue Feb 22, 2017 · 2 comments

Comments

@cdenneen
Copy link

Currently options are assumed role, aws creds file, access/secret keys.
But in the case of something like cross account role you'd have to use profile settings similar to below:

[profile crossaccountrole]
role_arn = arn:aws:iam::123456789012:role/xaccount
source_profile = default
[profile marketingadmin]
role_arn = arn:aws:iam::123456789012:role/marketingadmin
source_profile = default

Is there any undocumented option for this?

@lukewaite
Copy link
Contributor

Does this actually work?

From what I'm seeing it doesn't change to a CredentialFileProvider, it just loads the file and puts the settings into the default config, so role_arn and source_profile would be completely ignored.

https://github.com/logstash-plugins/logstash-mixin-aws/blob/master/lib/logstash/plugin_mixins/aws_config/v2.rb#L51-L58

@morganchristiansson
Copy link

role_arn is added in #27 which is yet to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants