зеркало из https://github.com/microsoft/Atlas.git
Fixing a bug in listkeys.yaml template files (#63)
* Fixing a bug in listkeys.yaml template files * `secret:` needs `result.body.` in the jmespath to find the secrets
This commit is contained in:
Родитель
075bcfbf1f
Коммит
b4c97d45d9
|
@ -2,9 +2,9 @@
|
|||
# https://docs.microsoft.com/en-us/rest/api/storagerp/srp_json_get_storage_account_keys
|
||||
|
||||
method: POST
|
||||
url: https://management.azure.com/subscriptions/{{azure.subscription}}/resourceGroups/{{azure.resourceGroupName}}/providers/Microsoft.Storage/storageAccounts/{{storage.account}}/listKeys?api-version=2018-03-01-preview
|
||||
url: https://management.azure.com/subscriptions/{{ azure.subscription }}/resourceGroups/{{ azure.resourceGroupName }}/providers/Microsoft.Storage/storageAccounts/{{ storage.account }}/listKeys?api-version=2018-03-01-preview
|
||||
auth:
|
||||
tenant: {{azure.tenant}}
|
||||
tenant: {{ azure.tenant }}
|
||||
resource: https://management.core.windows.net/
|
||||
client: 04b07795-8ddb-461a-bbee-02f9e1bf7b46 # Azure CLI
|
||||
secret: keys[*].value
|
||||
secret: result.body.keys[*].value
|
||||
|
|
|
@ -7,4 +7,4 @@ auth:
|
|||
tenant: {{azure.tenant}}
|
||||
resource: https://management.core.windows.net/
|
||||
client: 04b07795-8ddb-461a-bbee-02f9e1bf7b46 # Azure CLI
|
||||
secret: keys[*].value
|
||||
secret: result.body.keys[*].value
|
||||
|
|
Загрузка…
Ссылка в новой задаче