You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/deployment-environments/quickstart-create-and-configure-devcenter.md
+7-33Lines changed: 7 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.author: rosemalcolm
7
7
ms.topic: quickstart
8
8
ms.service: deployment-environments
9
9
ms.custom: ignite-2022, build-2023
10
-
ms.date: 04/25/2023
10
+
ms.date: 09/06/2023
11
11
---
12
12
13
13
# Quickstart: Create and configure a dev center for Azure Deployment Environments
@@ -18,14 +18,7 @@ A platform engineering team typically sets up a dev center, attaches external ca
18
18
19
19
The following diagram shows the steps you perform in this quickstart to configure a dev center for Azure Deployment Environments in the Azure portal.
20
20
21
-
:::image type="content" source="media/quickstart-create-and-configure-devcenter/dev-box-build-stages-1a.png" alt-text="Diagram showing the stages required to configure a dev center for Deployment Environments.":::
22
-
23
-
First, you create a dev center to organize your deployment environments resources. Next, you create a key vault to store the GitHub personal access token (PAT) that is used to grant Azure access to your GitHub repository. Then, you attach an identity to the dev center and assign that identity access to the key vault. Then, you add a catalog that stores your IaC templates to the dev center. Finally, you create environment types to define the types of environments that development teams can create.
24
-
25
-
26
-
The following diagram shows the remaining steps you must perform before you can create a deployment environment. You perform these steps in the [Create and configure a project quickstart](quickstart-create-and-configure-projects.md)
27
-
28
-
:::image type="content" source="media/quickstart-create-and-configure-devcenter/dev-box-build-stages-1b.png" alt-text="Diagram showing the stages required to configure a project for Deployment Environments.":::
21
+
:::image type="content" source="media/quickstart-create-and-configure-devcenter/dev-box-build-stages.png" alt-text="Diagram showing the stages required to configure a dev center for Deployment Environments.":::
29
22
30
23
You need to perform the steps in both quickstarts before you can create a deployment environment.
31
24
@@ -67,31 +60,12 @@ To create and configure a Dev center in Azure Deployment Environments by using t
67
60
68
61
:::image type="content" source="media/quickstart-create-and-configure-devcenter/deployment-environments-devcenter-created.png" alt-text="Screenshot that shows the Dev centers overview, to confirm that the dev center is created.":::
69
62
70
-
## Create a Key Vault
71
-
You need an Azure Key Vault to store the GitHub personal access token (PAT) that is used to grant Azure access to your GitHub repository. Key Vaults can control access with either access policies or role-based access control (RBAC). If you have an existing key vault, you can use it, but you should check whether it uses access policies or RBAC assignments to control access. In this quickstart, you create an RBAC Key Vault. For help with configuring an access policy for a key vault, see [Assign a Key Vault access policy](/azure/key-vault/general/assign-access-policy?branch=main&tabs=azure-portal).
72
-
73
-
If you don't have an existing key vault, use the following steps to create one:
74
-
75
-
1. Sign in to the [Azure portal](https://portal.azure.com).
76
-
1. In the Search box, enter *Key Vault*.
77
-
1. From the results list, select **Key Vault**.
78
-
1. On the Key Vault page, select **Create**.
79
-
1. On the Create key vault tab, provide the following information:
80
-
81
-
|Name |Value |
82
-
|----------|-----------|
83
-
|**Name**|Enter a name for the key vault.|
84
-
|**Subscription**|Select the subscription in which you want to create the key vault.|
85
-
|**Resource group**|Either use an existing resource group or select **Create new** and enter a name for the resource group.|
86
-
|**Location**|Select the location or region where you want to create the key vault.|
87
-
88
-
Leave the other options at their defaults.
89
-
90
-
1. On the Access configuration tab, select **Azure role-based access control**, and then select **Review + create**.
63
+
### Create a Key Vault
64
+
When you are using a GitHub repository or an Azure DevOps repository to store your [catalog](./concept-environments-key-concepts.md#catalogs), you need an Azure Key Vault to store a personal access token (PAT) that is used to grant Azure access to your repository. Key Vaults can control access with either access policies or role-based access control (RBAC). If you have an existing key vault, you can use it, but you should check whether it uses access policies or RBAC assignments to control access. This quickstart assumes you're using an RBAC Key Vault and a GitHub repository.
91
65
92
-
1. On the Review + create tab, select **Create**.
66
+
If you don't have an existing key vault, use the following steps to create one: [Quickstart: Create a key vault using the Azure portal](/azure/key-vault/general/quick-create-portal).
93
67
94
-
##Create a personal access token
68
+
### Configure a personal access token
95
69
Using an authentication token like a GitHub PAT enables you to share your repository securely. GitHub offers classic PATs, and fine-grained PATs. Fine-grained and classic PATs work with Azure Deployment Environments, but fine-grained tokens give you more granular control over the repositories to which you're allowing access.
96
70
97
71
> [!TIP]
@@ -238,7 +212,7 @@ You also need the path to the secret you created in the key vault.
238
212
|**Git clone URI**| Enter or paste the clone URL for either your GitHub repository or your Azure DevOps repository.<br />*Sample catalog example:*`https://github.com/Azure/deployment-environments.git`|
239
213
|**Branch**| Enter the repository branch to connect to.<br />*Sample catalog example:*`main`|
240
214
|**Folder path**| Enter the folder path relative to the clone URI that contains subfolders that hold your environment definitions. <br /> The folder path is for the folder with subfolders containing environment definition manifests, not for the folder with the environment definition manifest itself. The following image shows the sample catalog folder structure.<br />*Sample catalog example:*`/Environments`<br /> :::image type="content" source="media/how-to-configure-catalog/github-folders.png" alt-text="Screenshot showing Environments sample folder in GitHub."::: The folder path can begin with or without a forward slash (`/`).|
241
-
|**Secret identifier**| Enter the [secret identifier](#create-a-personal-access-token) that contains your personal access token for the repository.<br /> When you copy a secret identifier, the connection string includes a version identifier at the end, like in this example: `https://contoso-kv.vault.azure.net/secrets/GitHub-repo-pat/9376b432b72441a1b9e795695708ea5a`.<br />Removing the version identifier ensures that Deployment Environments fetches the latest version of the secret from the key vault. If your personal access token expires, only the key vault needs to be updated. <br />*Example secret identifier:*`https://contoso-kv.vault.azure.net/secrets/GitHub-repo-pat`|
215
+
|**Secret identifier**| Enter the [secret identifier](#configure-a-personal-access-token) that contains your personal access token for the repository.<br /> When you copy a secret identifier, the connection string includes a version identifier at the end, like in this example: `https://contoso-kv.vault.azure.net/secrets/GitHub-repo-pat/9376b432b72441a1b9e795695708ea5a`.<br />Removing the version identifier ensures that Deployment Environments fetches the latest version of the secret from the key vault. If your personal access token expires, only the key vault needs to be updated. <br />*Example secret identifier:*`https://contoso-kv.vault.azure.net/secrets/GitHub-repo-pat`|
242
216
243
217
:::image type="content" source="media/how-to-configure-catalog/add-catalog-form-inline.png" alt-text="Screenshot that shows how to add a catalog to a dev center." lightbox="media/how-to-configure-catalog/add-catalog-form-expanded.png":::
Copy file name to clipboardExpand all lines: articles/deployment-environments/quickstart-create-and-configure-projects.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,33 +7,26 @@ ms.author: rosemalcolm
7
7
ms.service: deployment-environments
8
8
ms.custom: ignite-2022, build-2023
9
9
ms.topic: quickstart
10
-
ms.date: 04/25/2023
10
+
ms.date: 09/06/2023
11
11
---
12
12
13
13
# Quickstart: Create and configure a project
14
14
15
-
This quickstart shows you how to create a project in Azure Deployment Environments. Then, you associate the project with the dev center you created in [Quickstart: Create and configure a dev center](./quickstart-create-and-configure-devcenter.md).
15
+
This quickstart shows you how to create a project in Azure Deployment Environments, and associate the project with the dev center you created in [Quickstart: Create and configure a dev center](./quickstart-create-and-configure-devcenter.md).
16
16
17
-
A platform engineering team typically creates projects and provides project access to development teams. Development teams then create [environments](concept-environments-key-concepts.md#environments) by using [environment definitions](concept-environments-key-concepts.md#environment-definitions), connect to individual resources, and deploy applications.
18
-
19
-
The following diagram shows the steps you perform in the [Create and configure a dev center for Azure Deployment Environments](quickstart-create-and-configure-devcenter.md) quickstart to configure a dev center for Azure Deployment Environments in the Azure portal. You must perform these steps before you can create a project.
20
-
21
-
:::image type="content" source="media/quickstart-create-configure-projects/create-environment-steps-2-a.png" alt-text="Diagram showing the stages required to configure a dev center for Deployment Environments.":::
22
-
23
17
The following diagram shows the steps you perform in this quickstart to configure a project associated with a dev center for Deployment Environments in the Azure portal.
24
18
25
-
:::image type="content" source="media/quickstart-create-configure-projects/create-environment-steps-2-b.png" alt-text="Diagram showing the stages required to configure a project for Deployment Environments.":::
19
+
:::image type="content" source="media/quickstart-create-configure-projects/create-environment-steps.png" alt-text="Diagram showing the stages required to configure a project for Deployment Environments.":::
26
20
27
21
First, you create a project. Then, assign the dev center managed identity the Owner role to the subscription. Then, you configure the project by creating a project environment type. Finally, you give the development team access to the project by assigning the [Deployment Environments User](how-to-configure-deployment-environments-user.md) role to the project.
28
22
29
23
You need to perform the steps in both quickstarts before you can create a deployment environment.
30
24
31
-
For more information on how to create an environment, see [Quickstart: Create and access Azure Deployment Environments by using the developer portal](quickstart-create-access-environments.md).
32
-
33
25
## Prerequisites
34
26
35
27
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
36
28
- Azure role-based access control role with permissions to create and manage resources in the subscription, such as [Contributor](../role-based-access-control/built-in-roles.md#contributor) or [Owner](../role-based-access-control/built-in-roles.md#owner).
29
+
- An Azure Deployment Environments dev center with a catalog attached. If you don't have a dev center with a catalog, see [Quickstart: Create and configure a dev center](./quickstart-create-and-configure-devcenter.md).
37
30
38
31
## Create a project
39
32
@@ -57,7 +50,7 @@ To create a project in your dev center:
57
50
58
51
1. On the **Review + Create** tab, wait for deployment validation, and then select **Create**.
59
52
60
-
:::image type="content" source="media/quickstart-create-configure-projects/create-project-page-review-create.png" alt-text="Screenshot that shows selecting the Review + Create button to validate and create a project.":::
53
+
:::image type="content" source="media/quickstart-create-configure-projects/create-project.png" alt-text="Screenshot that shows selecting the create project basics tab.":::
61
54
62
55
1. Confirm that the project was successfully created by checking your Azure portal notifications. Then, select **Go to resource**.
0 commit comments