class Aws::Credentials
def credentials
-
(Credentials)
-
def credentials self end
def initialize(access_key_id, secret_access_key, session_token = nil)
-
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
- Api: - private
def inspect "#<#{self.class.name} access_key_id=#{access_key_id.inspect}>" end
def set?
-
(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