class Aws::SharedConfig
def initialize(options = {})
(**options)
-
:config_enabled
(Boolean
) -- If true, loads the shared config -
:profile_name
(String
) -- The credential/config profile name -
:config_path
(String
) -- Path to the shared config file. -
:credentials_path
(String
) -- Path to the shared credentials
Parameters:
-
options
(Hash
) --
def initialize(options = {}) @parsed_config = nil @profile_name = determine_profile(options) @config_enabled = options[:config_enabled] @credentials_path = options[:credentials_path] || determine_credentials_path @parsed_credentials = {} load_credentials_file if loadable?(@credentials_path) if @config_enabled @config_path = options[:config_path] || determine_config_path load_config_file if loadable?(@config_path) end end