https://github.com/prajithp/p5-paws-credential-webidentity
Perl AWS SDK Credential Provider for Amazon EKS
https://github.com/prajithp/p5-paws-credential-webidentity
aws eks paws perl
Last synced: 9 months ago
JSON representation
Perl AWS SDK Credential Provider for Amazon EKS
- Host: GitHub
- URL: https://github.com/prajithp/p5-paws-credential-webidentity
- Owner: Prajithp
- License: other
- Created: 2021-03-07T17:34:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-04T16:05:52.000Z (about 2 years ago)
- Last Synced: 2024-12-21T15:37:48.948Z (over 1 year ago)
- Topics: aws, eks, paws, perl
- Language: Perl
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Paws::Credential::AssumeRoleWebIdentity
## SYNOPSIS
use Paws::Credential::AssumeRoleWebIdentity;
my $paws = Paws->new(config => {
credentials => Paws::Credential::AssumeRoleWebIdentity->new(
DurationSeconds => 900,
RoleArn => 'arn:....',
WebIdentityTokenFile => '/var/run/secrets/eks.amazonaws.com/serviceaccount/token'
)
});
## DESCRIPTION
The AssumeRoleWebIdentity provider is used to obtain temporary credentials with an OIDC web identity token file.
You can use this credential provider to obtain credentials when using AWS EKS and eks.amazonaws.com/role-arn annotation.
Credentials are refreshed with a re-call to STS when they before gets expired
### DurationSeconds: Int (optional)
The number of seconds for which the credentials will be valid
### WebIdentityTokenFile: Str (optional)
Path to web identity token file. Default: $ENV{'AWS\_WEB\_IDENTITY\_TOKEN\_FILE'}
### RoleArn: Str
The arn of the role to be assumed. Default: $ENV{'AWS\_ROLE\_ARN'}
### RoleSessionName: Str (optional)
The name of the session (will appear in CloudTrail logs, for example). Default: paws-session-time();
## LICENSE
Copyright (C) Prajith P.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
## AUTHOR
Prajith P