Class: HTTPX::Plugins::AwsSdkAuthentication::Credentials

Inherits:
Object
  • Object
show all
Includes:
_SigV4Credentials
Defined in:
lib/httpx/plugins/aws_sdk_authentication.rb,
sig/plugins/aws_sdk_authentication.rbs

Overview

encapsulates access to an AWS SDK credentials store.

Instance Method Summary collapse

Instance Method Details

#password ⇒ Object



38
39
40
# File 'lib/httpx/plugins/aws_sdk_authentication.rb', line 38

def password
  @aws_credentials.secret_access_key
end

#security_token ⇒ Object



42
43
44
# File 'lib/httpx/plugins/aws_sdk_authentication.rb', line 42

def security_token
  @aws_credentials.session_token
end

#username ⇒ Object



34
35
36
# File 'lib/httpx/plugins/aws_sdk_authentication.rb', line 34

def username
  @aws_credentials.access_key_id
end