class Aws::Plugins::RequestSigner


statically.
@seahorse.client.option [String] :session_token Used to set credentials
credentials statically.
@seahorse.client.option [String] :secret_access_key Used to set
statically.
@seahorse.client.option [String] :access_key_id Used to set credentials
specified, ‘default’ is used.
from the shared credentials file at HOME/.aws/credentials. When not
@seahorse.client.option [String] :profile Used when loading credentials
* EC2 instance profile credentials
* ‘HOME/.aws/credentials` shared credentials file
* ENV, ENV[’AWS_SECRET_ACCESS_KEY’]
* ‘:access_key_id`, `:secret_access_key`, and `:session_token` options
for credentials:
AWS credentials. The following locations will be searched in order
@seahorse.client.option [required, Credentials] :credentials Your

def add_handlers(handlers, config)

def add_handlers(handlers, config)
  # See the S3RequestSignerPlugin for Amazon S3 signature logic
  unless config.sigv4_name == 's3'
    operations = []
    config.api.operation_names.each do |operation_name|
      if config.api.operation(operation_name)['authtype'] != 'none'
        operations << operation_name
      end
    end
    handlers.add(Handler, step: :sign, operations: operations)
  end
end