-
Notifications
You must be signed in to change notification settings - Fork 421
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
[design] Enable temporary creds for environment initialization #1228
Labels
Comments
efekarakus
added
type/design
Issues that are design proposals.
area/creds
Issues about credentials.
labels
Aug 3, 2020
This was referenced Aug 3, 2020
efekarakus
added a commit
to efekarakus/copilot-cli
that referenced
this issue
Aug 6, 2020
efekarakus
added a commit
to efekarakus/copilot-cli
that referenced
this issue
Aug 6, 2020
mergify bot
pushed a commit
that referenced
this issue
Aug 6, 2020
- Add the struct to hold temporary credentials. - Validate temp credentials flags. - Create clients from temporary credentials if specified. The PR to ask for the credentials, updating `env delete`, and `env init` will be follow-ups. Related #1228 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
mergify bot
pushed a commit
that referenced
this issue
Aug 11, 2020
Related #1228 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
efekarakus
added a commit
to efekarakus/copilot-cli
that referenced
this issue
Aug 12, 2020
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this issue
Dec 9, 2022
Related aws#1228 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this issue
Dec 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Problem statement
As of Copilot v0.2.0, users cannot use temporary credentials while creating an environment (#1068, #1104).
We want to support this use case, while still making it clear that the default credential provider chain is used to look up application metadata and hence should prefer long lived profiles.
Proposal
To satisfy the new requirement, we'll update the
env init
prompt as follows after the users input their environment name:If the user chooses a profile, then we'll continue down the existing flow and start creating the environment stack.
If user chooses to enter temporary credentials, then we will populate the defaults with values from their default credential provider.
We'll introduce new flags to match the new prompts:
The new
--region
flag allows us to satisfy #1115.Finally, we will update
$ copilot init
to use the default credential provider instead of the "default" profile for initializing your "test" environment.The text was updated successfully, but these errors were encountered: