The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Credential::Explicit

SYNOPSIS

use Paws::Credential::Explicit;

my $paws = Paws->new(config => {
  credentials => Paws::Credential::Explicit->new(
    access_key => $ak,
    secret_key => $sk,
    session_token => $st,
  )
});

DESCRIPTION

The Explicit provider is used to specify credentials inside your code.

It's bad practice to hard-code credentials inside your code. Please do not hard-code credentials inside your code, and instead use other credential providers, or roll out you own.

access_key: Str

A string with an AWS access_key

secret_key: Str

A string with an AWS secret_key

session_token: Str (optional)

A string with an AWS session_token (if applies)