Skip to content

SSO cache & credentials directories inside botocore? #2668

Description

@nazarewk

Describe the feature

I did not research the details, but author of https://github.com/benkehoe/aws-sso-util suggested moving my functionality of configurable SSO directories 61418/aws-sso-util#63 into the botocore and on the first glance it looks like a good idea.

Will add more info when i have time.

Use Case

Currently most (probably all?) of the SSO/sessions code is using in-memory credentials, requiring new credentials to be fetched for every CLI/tool invocation. Storing those values locally for reuse would help a lot with tooling responsiveness.

Proposed Solution

This is already a part of https://github.com/benkehoe/aws-sso-util/blob/master/lib/aws_sso_lib/sso.py

Other Information

Such credentials & cache could probably use the secrets management system used by the machine (keychain, secret-service etc.) possibly through https://pypi.org/project/keyring/ instead of forcing dependent SSO projects to do so themselves, like:

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

any

Environment details (OS name and version, etc.)

any

Metadata

Metadata

Assignees

Labels

duplicateThis issue is a duplicate.feature-requestThis issue requests a feature.sso

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions