diff --git a/website/source/api/secret/azure/index.html.md b/website/source/api/secret/azure/index.html.md index f9987adf9cac..f8e8bb4fa9ba 100644 --- a/website/source/api/secret/azure/index.html.md +++ b/website/source/api/secret/azure/index.html.md @@ -122,8 +122,9 @@ for more information about roles. ### Parameters -- `azure_roles` (`array: `) - List of Azure roles to be assigned to the generated service - principal. See [roles docs][roles] for details on role definition. +- `azure_roles` (`string: `) - List of Azure roles to be assigned to the generated service + principal. The array must be in JSON format, properly escaped as a string. See [roles docs][roles] + for details on role definition. - `ttl` (`string: ""`) – Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to the system/engine default TTL time. - `max_ttl` (`string: ""`) – Specifies the maximum TTL for service principals generated using this role. Accepts time @@ -133,16 +134,16 @@ for more information about roles. ```json { - "azure_roles": [ + "azure_roles": "[ { - "role_name": "Contributor", - "scope": "/subscriptions//resourceGroup/Website" + \"role_name\": \"Contributor\", + \"scope\": \"/subscriptions//resourceGroup/Website\" }, { - "role_id": "/subscriptions//providers/Microsoft.Authorization/roleDefinitions/", - "scope": "/subscriptions/" + \"role_id\": \"/subscriptions//providers/Microsoft.Authorization/roleDefinitions/\", + \"scope\": \"/subscriptions/\" } - ], + ]", "ttl": 3600, "max_ttl": "24h" }