Module: HTTPX::Plugins::AwsSdkAuthentication::InstanceMethods
- Defined in:
- lib/httpx/plugins/aws_sdk_authentication.rb
Instance Method Summary collapse
-
#aws_sdk_authentication(credentials: AwsSdkAuthentication.credentials(@options.aws_profile), region: AwsSdkAuthentication.region(@options.aws_profile), **options) ⇒ Object
(also: #aws_auth)
aws_authentication aws_authentication(credentials: Aws::Credentials.new(‘akid’, ‘secret’)) aws_authentication().
Instance Method Details
#aws_sdk_authentication(credentials: AwsSdkAuthentication.credentials(@options.aws_profile), region: AwsSdkAuthentication.region(@options.aws_profile), **options) ⇒ Object Also known as: aws_auth
aws_authentication aws_authentication(credentials: Aws::Credentials.new(‘akid’, ‘secret’)) aws_authentication()
90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/httpx/plugins/aws_sdk_authentication.rb', line 90 def aws_sdk_authentication( credentials: AwsSdkAuthentication.credentials(@options.aws_profile), region: AwsSdkAuthentication.region(@options.aws_profile), ** ) aws_sigv4_authentication( credentials: credentials, region: region, provider_prefix: "aws", header_provider_field: "amz", ** ) end |