Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az-storage: add page #6647

Merged
merged 3 commits into from
Oct 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions pages/common/az-storage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# az storage

> Manage Azure Cloud Storage resources.
> Part of `azure-cli`.
> More information: <https://docs.microsoft.com/cli/azure/storage>.

- List all storage accounts in a resource group:

`az storage account list -g {{group_name}}`

- List the access keys for a storage account:

`az storage account keys list -g {{group_name}} -n {{account_name}}`

- Delete a storage account:

`az storage account delete -g {{group_name}} -n {{account_name}}`

- Create a storage account:

`az storage account create -g {{group_name}} -n {{account_name}} -l {{location}} --sku {{account_sku}}`

- Update storage account min tls setting:
WhileLoop marked this conversation as resolved.
Show resolved Hide resolved

`az storage account update --min-tls-version TLS1_2 -g {{group_name}} -n {{account_name}}`