Sha256: 61afa13aff84ad751446847db9c31cd627c5f7c7c9df43e7ca0ae48f9a78b62b
Contents?: true
Size: 437 Bytes
Versions: 14
Compression:
Stored size: 437 Bytes
Contents
require "aws-sdk-core" require "aws_mfa_secure" module AwsMfaCredentials def initialize(*) credentials = AwsMfaSecure::Credentials.instance if credentials.set? @access_key_id = credentials.access_key_id @secret_access_key = credentials.secret_access_key @session_token = credentials.session_token else super end end end module Aws class Credentials prepend AwsMfaCredentials end end
Version data entries
14 entries across 14 versions & 1 rubygems