Sha256: e481ec127aba899fe678d67c8eb04fc4c993c3996014d3a89eb8b563d22acdc6

Contents?: true

Size: 302 Bytes

Versions: 17

Compression:

Stored size: 302 Bytes

Contents

module AwsMfaSecure
  class Unsets < Base
    def initialize(options={})
      @options = options
    end

    def run
      puts script
    end

    def script
      <<~EOL
        unset AWS_ACCESS_KEY_ID
        unset AWS_SECRET_ACCESS_KEY
        unset AWS_SESSION_TOKEN
      EOL
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
aws-mfa-secure-0.4.5 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.4.4 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.4.3 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.4.2 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.4.1 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.4.0 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.8 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.7 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.6 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.5 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.4 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.3 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.2 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.1 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.3.0 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.2.0 lib/aws_mfa_secure/unsets.rb
aws-mfa-secure-0.1.0 lib/aws_mfa_secure/unsets.rb