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

Add options for passing client's credentials with env variables #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leszko
Copy link

@leszko leszko commented Feb 3, 2023

Allow interaction with web3.storage service using credentials (principal key and delegation proof) passed as base64-encoded env variables.

Rationale

Taking AWS CLI as an example, you can either use aws configure and store the credentials in your local config file or use aws with "inline" credentials.

export AWS_ACCESS_KEY_ID=<access-key-id>
export AWS_SECRET_ACCESS_KEY=<secret-access-key>

This PR will help the w3 in the ad-hoc usage and for the multi-tenant environments.

@alanshaw
Copy link
Member

This is super cool!...it'll also simplify a bit when web3-storage/w3up-client#74 is merged and released.

@leszko
Copy link
Author

leszko commented Feb 13, 2023

This is super cool!...it'll also simplify a bit when web3-storage/w3up-client#74 is merged and released.

Great that you like it! Do you plan to merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants