keys
Creates, updates, deletes, gets or lists a keys resource.
Overview
| Name | keys |
| Type | Resource |
| Id | azure.automation.keys |
Fields
The following fields are returned by SELECT queries:
- list_by_automation_account
| Name | Datatype | Description |
|---|---|---|
keys | array | Lists the automation keys. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_automation_account | select | resource_group_name, automation_account_name, subscription_id | Retrieve the automation keys for an account. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- list_by_automation_account
Retrieve the automation keys for an account.
SELECT
keys
FROM azure.automation.keys
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;