Add --credential
parameter to bicep publish
.
#5754
Labels
Milestone
--credential
parameter to bicep publish
.
#5754
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 mycredentialPrecedence
.Describe the solution you'd like
I would like to see a
--credential
parameter added tobicep publish
that allows me to specify the credentials to use without having to logout or change thecredentialPrecedence
.Example:
bicep publish storage.bicep --target br:mymodules.azurecr.io/modules/storage:v1 --credential azurecli
The text was updated successfully, but these errors were encountered: