Skip to main content

accounts_keys

Creates, updates, deletes, gets or lists a accounts_keys resource.

Overview

Nameaccounts_keys
TypeResource
Idazure.storage.accounts_keys

Fields

NameDatatypeDescription
keysarrayGets the list of storage account keys and their properties for the specified storage account.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionIdLists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.

SELECT examples

Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.

SELECT
keys
FROM azure.storage.accounts_keys
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';