GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Credential::File(3) User Contributed Perl Documentation Paws::Credential::File(3)

Paws::Credential::File

  use Paws::Credential::File;
  my $paws = Paws->new(config => {
    credentials => Paws::Credential::File->new(
      profile => 'profile1',
      credentials_file => '/etc/aws_system_credentials', 
    )
  });
  # will open /etc/aws_system_credentials
  
  my $paws = Paws->new(config => {
    credentials => Paws::Credential::File->new(
      profile => 'profile1',
      file_name => 'my_creds', 
    )
  });
  # will open $HOME/.aws/my_creds
  my $paws = Paws->new(config => {
    credentials => Paws::Credential::File->new(
      profile => 'profile1',
      path => '/etc/',
    )
  });
  # will open /etc/credentials

The File credential provider is to read credentials from AWS SDK config files

The section in the ini file where credentials will be looked up:

Defaults to the environment variable "AWS_DEFAULT_PROFILE", and if that is not defined, to "default"

The path of the ini file to open

Defaults to the path + file_name ("$HOME/.aws/credentials" by default) if the environment variable AWS_CONFIG_FILE doesn't exist

Path to the ini file

Defaults to "$HOME/.aws"

Name of the ini file

Defaults to "credentials"

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.