[App Service] az webapp deploy
: Add --pull-identity argument to enable MSI authentication for pull based deployments
#30807
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related command
az webapp deploy
Description
Adding --pull-identity argument to allow for MSI based authentication when performing a pull based deployment.
pullIdentity
can have 3 states;null
: MSI will not be used. This matches the existing behavior (SAS or public access)system
: Authenticates using system assigned identity{client-Id}
: Authenticates using provided user assigned identityTesting Guide
az webapp deploy -g {resource-group-name] -n {app-name} --src-url {package-url} --pull-identity system --type zip
: Deploys a zip file from{package-url}
using the system assigned identity of the web app to authenticate against the storage account.az webapp deploy -g {resource-group-name] -n {app-name} --src-url {package-url} --pull-identity {client-id} --type zip
: Deploys a zip file from{package-url}
using the user assigned identity with id{client-id}
to authenticate against the storage accountaz webapp deploy -g {resource-group-name] -n {app-name} --src-url {package-url} --type zip
: Behavior is unchanged. Deployment will pull with anonymous access or SAS tokenThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.