class Aws::Credentials

def credentials

Returns:
  • (Credentials) -
def credentials
  self
end

def initialize(access_key_id, secret_access_key, session_token = nil)

Parameters:
  • session_token (String) -- (nil)
  • secret_access_key (String) --
  • access_key_id (String) --
def initialize(access_key_id, secret_access_key, session_token = nil)
  @access_key_id = access_key_id
  @secret_access_key = secret_access_key
  @session_token = session_token
end

def inspect

Other tags:
    Api: - private
def inspect
  "#<#{self.class.name} access_key_id=#{access_key_id.inspect}>"
end

def set?

Returns:
  • (Boolean) - Returns `true` if the access key id and secret
def set?
  !access_key_id.nil? &&
  !access_key_id.empty? &&
  !secret_access_key.nil? &&
  !secret_access_key.empty?
end