![Forrest logo](/images/logo.png)
az-storage:tldr:37add
az-storage: List the access keys for a storage account.
$ az storage account keys list -g ${group_name} -n ${account_name}
try on your machine
The command "az storage account keys list -g ${group_name} -n ${account_name}" is used in the Azure command-line interface (CLI) to retrieve the access keys associated with a specific storage account in Azure.
Here is the breakdown of the command and its parameters:
- "az storage account keys list": This is the main command that tells the Azure CLI to retrieve the access keys for a storage account.
- "-g ${group_name}": This parameter specifies the resource group name (${group_name}) where the storage account is located. Replace ${group_name} with the actual name of your resource group.
- "-n ${account_name}": This parameter specifies the name (${account_name}) of the storage account for which you want to retrieve the access keys. Replace ${account_name} with the actual name of your storage account.
In summary, the command is used to list the access keys for a specific storage account in Azure by providing the resource group and storage account names as parameters.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.