-
-
Notifications
You must be signed in to change notification settings - Fork 558
Description
🗣️ 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>