Module: AwsAssumeRole

Included in:
Cli, Cli::Actions::AbstractAction, Credentials::Factories, Credentials::Factories::AbstractFactory, Store::Keyring, Ui
Defined in:
lib/aws_assume_role/types.rb,
lib/aws_assume_role/version.rb,
lib/aws_assume_role/includes.rb,
lib/aws_assume_role/configuration.rb,
lib/aws_assume_role/store/includes.rb,
lib/aws_assume_role/cli/actions/includes.rb,
lib/aws_assume_role/credentials/includes.rb,
lib/aws_assume_role/vendored/aws/includes.rb,
lib/aws_assume_role/core_ext/aws-sdk/includes.rb,
lib/aws_assume_role/store/shared_config_with_keyring.rb,
lib/aws_assume_role/credentials/factories/default_chain_provider.rb

Defined Under Namespace

Modules: Cli, CoreExt, Credentials, Logging, Store, Types, Ui, Vendored Classes: Configuration, ProfileConfiguration, Runner

Constant Summary collapse

VERSION =
"0.2.2".freeze
Config =
Configuration.config
DefaultProvider =
AwsAssumeRole::Credentials::Factories::DefaultChainProvider

Class Method Summary collapse

Class Method Details

.shared_configObject


32
33
34
35
# File 'lib/aws_assume_role/includes.rb', line 32

def shared_config
    enabled = ENV["AWS_SDK_CONFIG_OPT_OUT"] ? false : true
    @shared_config ||= SharedConfigWithKeyring.new(config_enabled: enabled)
end