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

Assume Role Bug #447

Open
iamsheny opened this issue Nov 18, 2021 · 1 comment
Open

Assume Role Bug #447

iamsheny opened this issue Nov 18, 2021 · 1 comment

Comments

@iamsheny
Copy link

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

When I use sts = ::Aws::AssumeRoleCredentials.new, I can't get sts.access_key_id

🥞 Cookbook version

unknown

👩‍🍳 Chef-Infra Version

17.6.18

🎩 Platform details

windows2019

Steps To Reproduce

Steps to reproduce the behavior:

When I use "sts = ::Aws::AssumeRoleCredentials.new"

I can get std.access_key_id

Error msg:
FATAL: NoMethodError: undefined method `access_key_id' for #<Aws::AssumeRoleCredentials:0x00000000074ddc10 @assume_role_params={:role_arn=>"arn:aws:iam::2589xxxxx343:role/delegate-chef-node", :role_session_name=>"b3f5386ea34d6626"}, @client=#Aws::STS::Client, @mutex=#Thread::Mutex:0x00000000074dc9a0, @credentials=#<Aws::Credentials access_key_id="ASIATYxxxxxxOJAV2UX">, @Expiration=2021-11-18 11:13:15 UTC>

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

2 participants
@iamsheny and others