Skip to content

Commit d1a6d2c

Browse files
committed
docs: new list resource for storage cmk
1 parent 1965051 commit d1a6d2c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
subcategory: "Storage"
3+
layout: "azurerm"
4+
page_title: "Azure Resource Manager: azurerm_storage_account_customer_managed_key"
5+
description: |-
6+
Lists Storage Account Customer Managed Keys used for encryption.
7+
---
8+
9+
# List resource: azurerm_storage_account_customer_managed_key
10+
11+
Lists Storage Account Customer Managed Keys used for encryption.
12+
13+
## Example Usage
14+
15+
### List all Storage Account Customer Managed Keys in the subscription
16+
17+
```hcl
18+
list "azurerm_storage_account_customer_managed_key" "example" {
19+
provider = azurerm
20+
config {}
21+
}
22+
```
23+
24+
### List all Storage Account Customer Managed Keys in a specific resource group
25+
26+
```hcl
27+
list "azurerm_storage_account_customer_managed_key" "example" {
28+
provider = azurerm
29+
config {
30+
resource_group_name = "example-rg"
31+
}
32+
}
33+
```
34+
35+
## Argument Reference
36+
37+
This list resource supports the following attributes:
38+
39+
* `resource_group_name` - (Optional) The name of the resource group to query.
40+
41+
* `subscription_id` - (Optional) The Subscription ID to query. Defaults to the value specified in the Provider Configuration.

0 commit comments

Comments
 (0)