Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the S3 credentials for a domain to come from a AWS Token Service #5346

Open
bmbouter opened this issue May 10, 2024 · 0 comments
Open
Labels

Comments

@bmbouter
Copy link
Member

On our deployment we store S3 bucket credentials in another service and they can't be handed to Pulp directly in all cases.

What can be done is those other services can hand Pulp a token which can be used to act on behalf of a user who does have access to those services. To do that they use the AWS Token Service.

How could Pulp use a token like that to configure django-storages?

How to configure Pulp to fetch the tokens is not something I have a good idea on yet, but let's assume we already have the token. Then Pulp could:

  1. Here's an example of another project that uses STS to configure Boto.
  2. The django-storages docs say we can use a Boto session to configure django-storages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants