зеркало из https://github.com/Azure/ARO-RP.git
Fixes in disk-encryption-set.md (#3323)
Fixes in disk-encryption-set.md
This commit is contained in:
Родитель
cda87483e3
Коммит
38c86f8160
|
@ -32,7 +32,7 @@ Follow [tutorial-create-cluster](https://docs.microsoft.com/en-us/azure/openshif
|
||||||
```bash
|
```bash
|
||||||
export KEYVAULT_NAME=$USER-enckv
|
export KEYVAULT_NAME=$USER-enckv
|
||||||
export KEYVAULT_KEY_NAME=$USER-key
|
export KEYVAULT_KEY_NAME=$USER-key
|
||||||
export DISK_ENCRYPTION_SET_NAME=$USER-des
|
export DISK_ENCRYPTION_SET_NAME=$RESOURCEGROUP-disk-encryption-set
|
||||||
```
|
```
|
||||||
- create the KeyVault and Key
|
- create the KeyVault and Key
|
||||||
```bash
|
```bash
|
||||||
|
@ -45,7 +45,7 @@ az keyvault key create --vault-name $KEYVAULT_NAME \
|
||||||
-n $KEYVAULT_KEY_NAME \
|
-n $KEYVAULT_KEY_NAME \
|
||||||
--protection software
|
--protection software
|
||||||
|
|
||||||
KEYVAULT_ID=$(az keyvault show --name $KEYVAULT_NAME --query "[id]" -o tsv)
|
KEYVAULT_ID=$(az keyvault show --name $KEYVAULT_NAME -g $RESOURCEGROUP --query "[id]" -o tsv)
|
||||||
|
|
||||||
KEYVAULT_KEY_URL=$(az keyvault key show --vault-name $KEYVAULT_NAME \
|
KEYVAULT_KEY_URL=$(az keyvault key show --vault-name $KEYVAULT_NAME \
|
||||||
--name $KEYVAULT_KEY_NAME \
|
--name $KEYVAULT_KEY_NAME \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче