Sha256: c3b53c8b97fb0d8b64d52d01402b4e33a4a6be90a2ab3493112c27395dcde993

Contents?: true

Size: 510 Bytes

Versions: 43

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

require_relative "abstract_factory"

class AwsAssumeRole::Credentials::Factories::Static < AwsAssumeRole::Credentials::Factories::AbstractFactory
    type :credential_provider
    priority 0

    def initialize(options = {})
        @credentials = Aws::Credentials.new(
            options[:access_key_id],
            options[:secret_access_key],
            options[:session_token],
        )
        @region = options[:region]
        @profile = options[:profile]
    end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
aws_assume_role-1.2.3-universal-freebsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.3-universal-darwin lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.3-universal-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.3-universal-openbsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.3 lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.3-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2-universal-darwin lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2-universal-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2-universal-openbsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2-universal-freebsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.2 lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1 lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1-universal-openbsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1-universal-darwin lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1-universal-freebsd lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.1-universal-linux lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.0 lib/aws_assume_role/credentials/factories/static.rb
aws_assume_role-1.2.0-linux lib/aws_assume_role/credentials/factories/static.rb