Skip to content

Commit ac24cbd

Browse files
author
RoseHJM
committed
Revised updates
1 parent 13ea7b1 commit ac24cbd

10 files changed

+12
-45
lines changed
101 KB
Loading
99.7 KB
Loading
48.6 KB
Loading

articles/deployment-environments/quickstart-create-and-configure-devcenter.md

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: rosemalcolm
77
ms.topic: quickstart
88
ms.service: deployment-environments
99
ms.custom: ignite-2022, build-2023
10-
ms.date: 04/25/2023
10+
ms.date: 09/06/2023
1111
---
1212

1313
# 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
1818

1919
The following diagram shows the steps you perform in this quickstart to configure a dev center for Azure Deployment Environments in the Azure portal.
2020

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.":::
2922

3023
You need to perform the steps in both quickstarts before you can create a deployment environment.
3124

@@ -67,31 +60,12 @@ To create and configure a Dev center in Azure Deployment Environments by using t
6760

6861
:::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.":::
6962

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.
9165

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).
9367

94-
## Create a personal access token
68+
### Configure a personal access token
9569
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.
9670

9771
> [!TIP]
@@ -238,7 +212,7 @@ You also need the path to the secret you created in the key vault.
238212
| **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` |
239213
| **Branch** | Enter the repository branch to connect to.<br />*Sample catalog example:* `main`|
240214
| **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`|
242216

243217
:::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":::
244218

articles/deployment-environments/quickstart-create-and-configure-projects.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,26 @@ ms.author: rosemalcolm
77
ms.service: deployment-environments
88
ms.custom: ignite-2022, build-2023
99
ms.topic: quickstart
10-
ms.date: 04/25/2023
10+
ms.date: 09/06/2023
1111
---
1212

1313
# Quickstart: Create and configure a project
1414

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).
1616

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-
2317
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.
2418

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.":::
2620

2721
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.
2822

2923
You need to perform the steps in both quickstarts before you can create a deployment environment.
3024

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-
3325
## Prerequisites
3426

3527
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
3628
- 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).
3730

3831
## Create a project
3932

@@ -57,7 +50,7 @@ To create a project in your dev center:
5750

5851
1. On the **Review + Create** tab, wait for deployment validation, and then select **Create**.
5952

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.":::
6154

6255
1. Confirm that the project was successfully created by checking your Azure portal notifications. Then, select **Go to resource**.
6356

0 commit comments

Comments
 (0)