-
Notifications
You must be signed in to change notification settings - Fork 92
Invalid Profile with EC2InstanceMetadata #95
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
Comments
it would be nice to have this feature for me as well. |
Need this Feature really hard! |
Howdy! Thanks for bringing this issue to our attention This issue should be resolved with 4.2.5, feel free to re-open if you have other issues |
Hi mbarneyjr, ty for your quick reply. Sadly the changes did not do the trick: configuration:
|
Hmmm, something must be wrong with your installation. If you build a docker image from this dockerfile and run
|
I got it to work with the int profile. The problem was the default profile which has no role. You can reproduce it when you remove the role_arn line in the int profile. The intention here was to not do a role switch but use the currently assigned role. |
Awsume is going to delegate to the awscli or sdks when If you aren't trying to awsume a role with the |
I've pushed a pre-release that should resolve this issue. Try installing |
Deploying to |
Hi,
im trying to get awsume to work on a ec2 machine. This machine has a assigned Role from which I would like to switch to other roles. In the aws cli everything work with the --profile argument, but awsume logs "AWSume error: Invalid profile"
My profile looks like:
[profile int]
role_arn = arn:aws:iam::1234567890:role/SomeOtherRole
credential_source = Ec2InstanceMetadata
output = json
region = eu-central-1
So there is no AccessKey in the profile, because the ec2 Instance profile should be the source of aws access management.
Am I missing something, or is this a bug/missing feature?
The text was updated successfully, but these errors were encountered: