class Aws::Sigv4::StaticCredentialsProvider

@api private
`:access_key_id` and ‘:secret_access_key` constructor options.
Users that wish to configure static credentials can use the

def initialize(options = {})

Options Hash: (**options)
  • :session_token (String) --
  • :secret_access_key (String) --
  • :access_key_id (String) --
  • :credentials (Credentials) --
def initialize(options = {})
  @credentials = options[:credentials] ?
    options[:credentials] :
    Credentials.new(options)
end

def set?

Returns:
  • (Boolean) -
def set?
  !!credentials && credentials.set?
end