Support duration_seconds on the web identity token provider #3411
Labels
feature-request
This issue requests a feature.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
Right now, there's no way to provide
DurationSeconds
as an extra kwarg on theAssumeRoleWithWebIdentityCredentialFetcher
. We'd like to be able to populate this from the profile config.Use Case
We need our provider to have a longer lifetime so we can mint pre-signed URLs which won't expire after 1 hour, the default STS timeout.
Proposed Solution
Add a populate for
duration_seconds
here, the same way that already exists for the assume role provider.botocore/botocore/credentials.py
Lines 1888 to 1899 in 728045e
Other Information
If this is a desired change, we'd be happy to put up the PR ourselves!
Acknowledgements
SDK version used
latest
Environment details (OS name and version, etc.)
EKS
The text was updated successfully, but these errors were encountered: