class HTTPX::Plugins::AwsSdkAuthentication::Credentials

  1. lib/httpx/plugins/aws_sdk_authentication.rb
Superclass: Object

encapsulates access to an AWS SDK credentials store.

Methods

Public Class

  1. new

Public Instance

  1. password
  2. security_token
  3. username

Public Class methods

new(aws_credentials)
[show source]
   # File lib/httpx/plugins/aws_sdk_authentication.rb
30 def initialize(aws_credentials)
31   @aws_credentials = aws_credentials
32 end

Public Instance methods

password()
[show source]
   # File lib/httpx/plugins/aws_sdk_authentication.rb
38 def password
39   @aws_credentials.secret_access_key
40 end
security_token()
[show source]
   # File lib/httpx/plugins/aws_sdk_authentication.rb
42 def security_token
43   @aws_credentials.session_token
44 end
username()
[show source]
   # File lib/httpx/plugins/aws_sdk_authentication.rb
34 def username
35   @aws_credentials.access_key_id
36 end