struct

Ark::AWS::Credentials

Inherits Struct < Value < Object

Constructors

new(access_key_id : String, secret_access_key : String, session_token : String | Nil = nil)
Source

Class methods

from_json(body : String, source : String) : ResolvedCredentials
Source
region_from_profile(profile : String) : String | Nil

Reads region from ~/.aws/config for the given profile.

Source
resolve(config : Config) : ResolvedCredentials
Source

Instance methods

access_key_id
Source
secret_access_key
Source
session_token
Source