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::InstanceProfileV2(3) User Contributed Perl Documentation Paws::Credential::InstanceProfileV2(3)

Paws::Credential::InstanceProfileV2

  use Paws::Credential::InstanceProfileV2;
  my $paws = Paws->new(config => {
    credentials => Paws::Credential::InstanceProfile->new(
      metadata_url => 'http://localhost:8000/security-credentials',
      timeout => 5,
    )
  });

The InstanceProfileV2 credential provider is used to call retrieve AWS credentials from instances running on AWS

When running on an instance in AWS, if said instance has a Role attached to it (also named InstanceProfile), Paws can retrieve short-term credentials (and refresh them when needed) from the AWS provided "metadata service" using IMDSv2 approach.

metadata_url: Str

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

metadata_url: Str

URL for client to fetch token from

Number of seconds to wait before timinig out a connection to the metadata service. It defaults to 1 second, as the metadata service is almost local, and very fast responding. Note that if set too high, and the metadata service is not present (not running on an AWS instance), the connection has to time out

A user agent that has a "get" method. Defaults to HTTP::Tiny

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.