def fresh(options = {})
      @profile_name = nil
      @credentials_path = nil
      @config_path = nil
      @parsed_credentials = {}
      @parsed_config = nil
      @config_enabled = options[:config_enabled] ? true : false
      @profile_name = determine_profile(options)
      @credentials_path = options[:credentials_path] ||
        determine_credentials_path
      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
def fresh(options = {})
      @profile_name = nil
      @credentials_path = nil
      @config_path = nil
      @parsed_credentials = {}
      @parsed_config = nil
      @config_enabled = options[:config_enabled] ? true : false
      @profile_name = determine_profile(options)
      @credentials_path = options[:credentials_path] ||
        determine_credentials_path
      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
Constructs a new SharedConfig provider object. This will load the shared
 credentials file, and optionally the shared configuration file, as ini
 files which support profiles.

 By default, the shared credential file (the default path for which is
 `~/.aws/credentials`) and the shared config file (the default path for
 which is `~/.aws/config`) are loaded. However, if you set the
 `ENV['AWS_SDK_CONFIG_OPT_OUT']` environment variable, only the shared
 credential file will be loaded. You can specify the shared credential
 file path with the `ENV['AWS_SHARED_CREDENTIALS_FILE']` environment
 variable or with the `:credentials_path` option. Similarly, you can
 specify the shared config file path with the `ENV['AWS_CONFIG_FILE']`
 environment variable or with the `:config_path` option.

 The default profile name is 'default'. You can specify the profile name
 with the `ENV['AWS_PROFILE']` environment variable or with the
 `:profile_name` option.

 @param [Hash] options
 @option options [String] :credentials_path Path to the shared credentials
   file. If not specified, will check `ENV['AWS_SHARED_CREDENTIALS_FILE']`
   before using the default value of "#{Dir.home}/.aws/credentials".
 @option options [String] :config_path Path to the shared config file.
   If not specified, will check `ENV['AWS_CONFIG_FILE']` before using the
   default value of "#{Dir.home}/.aws/config".
 @option options [String] :profile_name The credential/config profile name
   to use. If not specified, will check `ENV['AWS_PROFILE']` before using
   the fixed default value of 'default'.
 @option options [Boolean] :config_enabled If true, loads the shared config
   file and enables new config values outside of the old shared credential
   spec.
 @api private