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 --credential parameter to bicep publish. #5754

Open
StefanIvemo opened this issue Jan 26, 2022 · 1 comment
Open

Add --credential parameter to bicep publish. #5754

StefanIvemo opened this issue Jan 26, 2022 · 1 comment
Labels
enhancement New feature or request story: registry

Comments

@StefanIvemo
Copy link
Collaborator

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

bicep publish behaves the same way as the insert resource function when signed in with different credentials in Azure CLI, Azure PowerShell and VSCode Azure extension. It will try to use the first credential based on my credentialPrecedence.

Describe the solution you'd like
I would like to see a --credential parameter added to bicep publish that allows me to specify the credentials to use without having to logout or change the credentialPrecedence.

Example:
bicep publish storage.bicep --target br:mymodules.azurecr.io/modules/storage:v1 --credential azurecli

@StefanIvemo StefanIvemo added enhancement New feature or request story: registry labels Jan 26, 2022
@ghost ghost added the Needs: Triage 🔍 label Jan 26, 2022
@alex-frankel
Copy link
Collaborator

Also related to #5696. If we support "insert resource" in the Bicep CLI, we would also want this credential selector there.

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

No branches or pull requests

2 participants