Method: HTTPX::Plugins::AwsSdkAuthentication.credentials

Defined in:
lib/httpx/plugins/aws_sdk_authentication.rb

.credentials(profile) ⇒ Object



60
61
62
63
# File 'lib/httpx/plugins/aws_sdk_authentication.rb', line 60

def credentials(profile)
  mock_configuration = Configuration.new(profile)
  Credentials.new(Aws::CredentialProviderChain.new(mock_configuration).resolve)
end