@@ -5,7 +5,7 @@ author: zhenlan
5
5
ms.author : zhenlwa
6
6
ms.service : azure-app-configuration
7
7
ms.topic : conceptual
8
- ms.date : 04/01 /2022
8
+ ms.date : 10/28 /2022
9
9
---
10
10
11
11
# Azure App Configuration support for configuration files
@@ -46,16 +46,16 @@ Key Vault references require a particular content type during importing, so you
46
46
47
47
``` json
48
48
{
49
- "Database" : {
50
- "ConnectionString " : " { \" uri \" : \" https://<your-vault-name>.vault.azure.net/secrets/db-secret\" } "
51
- }
49
+ "Database:ConnectionString " : {
50
+ "uri " : " https://<your-vault-name>.vault.azure.net/secrets/db-secret"
51
+ }
52
52
}
53
53
```
54
54
55
- Run the following CLI command to import it with the ` test ` label, the colon ( ` : ` ) separator, and the Key Vault reference content type.
55
+ Run the following CLI command to import it with the ` test ` label and the Key Vault reference content type.
56
56
57
57
``` azurecli-interactive
58
- az appconfig kv import --label test --separator : -- content-type application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 --name <your store name> --source file --path keyvault-refs.json --format json
58
+ az appconfig kv import --label test --content-type application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 --name <your store name> --source file --path keyvault-refs.json --format json
59
59
```
60
60
61
61
The following table shows all the imported data in your App Configuration store.
@@ -64,7 +64,7 @@ The following table shows all the imported data in your App Configuration store.
64
64
| ---------| ---------| ---------| ---------|
65
65
| .appconfig.featureflag/Beta | {"id":"Beta","description":"","enabled": false ,"conditions":{"client_filters":[ ] }} | dev | application/vnd.microsoft.appconfig.ff+json;charset=utf-8 |
66
66
| Logging:LogLevel: Default | Warning | dev | |
67
- | Database: ConnectionString | " {\" uri\" :\" https://\< your-vault-name\> .vault.azure.net/secrets/db-secret\" }" | test | application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 |
67
+ | Database: ConnectionString | {\" uri\" :\" https://\< your-vault-name\> .vault.azure.net/secrets/db-secret\" } | test | application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 |
68
68
69
69
## File content profile: KVSet
70
70
@@ -124,7 +124,7 @@ The following table shows all the imported data in your App Configuration store.
124
124
| ---------| ---------| ---------| ---------|
125
125
| .appconfig.featureflag/Beta | {"id":"Beta","description":"Beta feature","enabled":** true** ,"conditions":{"client_filters":[ ] }} | dev | application/vnd.microsoft.appconfig.ff+json;charset=utf-8 |
126
126
| Logging:LogLevel: Default | ** Debug** | dev | |
127
- | Database: ConnectionString | " {\" uri\" :\" https://\< your-vault-name\> .vault.azure.net/secrets/db-secret\" }" | test | application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 |
127
+ | Database: ConnectionString | {\" uri\" :\" https://\< your-vault-name\> .vault.azure.net/secrets/db-secret\" } | test | application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8 |
128
128
129
129
## Next steps
130
130
0 commit comments