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

how to set AWS_PROFILE #9

Open
bennettp123 opened this issue Jul 19, 2024 · 1 comment
Open

how to set AWS_PROFILE #9

bennettp123 opened this issue Jul 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bennettp123
Copy link

Is your feature request related to a problem? Please describe.

In the CLI, I use separate profiles for different S3 storage backends, and I switch between them by exporting AWS_PROFILE.

Describe the solution you'd like

I'd like to be able to set (or override) the aws profile used to authenticate to the S3 backend.

This could be done using AWS_PROFILE, or by

Describe alternatives you've considered

I could probably set profile in the backend URL (eg s3://bucket?awssdk=v2&profile=<profile-name>, but we set this in Pulumi.yaml (which we store in source control), and profile names differ from person to person.

Alternatively, I could set the environment variable for the deskypus app (using open --env AWS_PROFILE="..." /Applications/Deskypus.app, probably). This would work well for a single profile, but I'd probably need to launch a separate instance for each profiles.

Additional context

@bennettp123 bennettp123 added the enhancement New feature or request label Jul 19, 2024
@praneetloke
Copy link
Contributor

@bennettp123 do you think auto-activating an environment defined in Deskypus when you switch backend URLs would help you in this situation? That way, you can create different environments with different values for AWS_PROFILE.

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

No branches or pull requests

2 participants