title | description | services | documentationcenter | author | manager | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Configure deployment credentials for Azure App Service | Microsoft Docs |
Learn how to use the Azure App Service deployment credentials. |
app-service |
cephalin |
jpconnoc |
app-service |
na |
na |
multiple |
article |
11/22/2018 |
cephalin |
Azure App Service supports two types of credentials for local Git deployment and FTP/S deployment. These are not the same as your Azure Active Directory credentials.
-
User-level credentials: one set of credentials for the entire Azure account. It can be used to deploy to App Service for any app, in any subscription, that the Azure account has permission to access. It's the default set that's surfaced in the portal GUI (such as the Overview and Properties of the app's resource page). When a user is granted app access via Role-Based Access Control (RBAC) or coadmin permissions, that user can use his/her own user-level credentials until the access is revoked. Do not share these credentials with other Azure users.
-
App-level credentials: one set of credentials for each app. It can be used to deploy to that app only. The credentials for each app are generated automatically at app creation. They can't be configured manually, but can be reset anytime. For a user to be granted access to app-level credentials via (RBAC), that user must be contributor or higher on the app. Readers are not allowed to publish, and can't access those credentials.
You can configure your user-level credentials in any app's resource page. Regardless in which app you configure these credentials, it applies to all apps and for all subscriptions in your Azure account.
To configure your user-level credentials:
-
In the Azure portal, from the left menu, click App Services > <any_app> > Deployment center > Deployment credentials.
In the portal, you must have at least one app before you can access the deployment credentials page. However, with the Azure CLI, you can configure user-level credentials without an existing app.
-
Click User Credentials, configure the user name and password, and then click Save Credentials.
Once you have set your deployment credentials, you can find the Git deployment username in your app's Overview,
and FTP deployment username in your app's Properties.
Note
Azure does not show your user-level deployment password. If you forget the password, you can reset your credentials by following the steps in this section.
To get the app-level credentials:
-
In the Azure portal, from the left menu, click App Services > <any_app> > Deployment center > Deployment credentials.
-
Click App Credentials, and click the Copy link to copy the username or password.
To reset the app-level credentials, click Reset Credentials in the same dialog.
Find out how to use these credentials to deploy your app from local Git or using FTP/S.