Skip to content

Commit 005c87f

Browse files
committed
update
1 parent 725faaa commit 005c87f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

articles/azure-resource-manager/bicep/bicep-config-modules.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ms.date: 01/09/2023
77

88
# Add module settings in the Bicep config file
99

10-
In a **bicepconfig.json** file, you can create aliases for module paths and configure credential precedence for restoring a module.
10+
In a **bicepconfig.json** file, you can create aliases for module paths and configure profile and credential precedence for publishing and restoring modules.
1111

12-
This article describes the settings that are available for working with [modules](modules.md).
12+
This article describes the settings that are available for working with [Bicep modules](modules.md).
1313

1414
## Aliases for modules
1515

@@ -120,7 +120,7 @@ You can override the public module registry alias definition in the bicepconfig.
120120
}
121121
```
122122

123-
## Credentials for publishing/restoring modules
123+
## Configure profiles and credentials
124124

125125
To [publish](bicep-cli.md#publish) modules to a private module registry or to [restore](bicep-cli.md#restore) external modules to the local cache, the account must have the correct permissions to access the registry. You can configure the profile and the credential precedence for authenticating to the registry. By default, Bicep uses the `AzureCloud` profile and the credentials from the user authenticated in Azure CLI or Azure PowerShell. You can customize `currentProfile` and `credentialPrecedence` in the config file.
126126

@@ -150,8 +150,9 @@ To [publish](bicep-cli.md#publish) modules to a private module registry or to [r
150150
}
151151
```
152152

153-
The available national profiles are:
153+
The available profiles are:
154154

155+
- AzureCloud
155156
- AzureChinaCloud
156157
- AzureUSGovernment
157158

includes/resource-manager-vscode-authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
author: mumian
33
ms.service: azure-resource-manager
44
ms.topic: include
5-
ms.date: 12/06/2022
5+
ms.date: 01/10/2023
66
ms.author: jgao
77
---
88

99
> [!NOTE]
10-
> The Bicep deploy command from within vscode uses the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) for authentication. It doesn't use cloud profiles from [bicepconfig.json](../articles/azure-resource-manager/bicep/bicep-config.md#credential-precedence).
10+
> The Bicep deploy command from within vscode uses the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) for authentication. It doesn't use cloud profiles from [bicepconfig.json](../articles/azure-resource-manager/bicep/bicep-config-modules.md#configure-profiles-and-credentials).

0 commit comments

Comments
 (0)