Open iamsheny opened 3 years ago
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.
When I use sts = ::Aws::AssumeRoleCredentials.new, I can't get sts.access_key_id
unknown
17.6.18
windows2019
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=#, @mutex=#, @credentials=#, @expiration=2021-11-18 11:13:15 UTC>
:speaking_head: 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.
:ghost: Brief Description
When I use sts = ::Aws::AssumeRoleCredentials.new, I can't get sts.access_key_id
:pancakes: Cookbook version
unknown
:woman_cook: Chef-Infra Version
17.6.18
:tophat: 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=#, @mutex=#, @credentials=#, @expiration=2021-11-18 11:13:15 UTC>