Use this data source to access information about an existing NetApp Account Encryption Resource.
data "azurerm_netapp_account_encryption" "example" {
netapp_account_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1"
}
output "id" {
value = data.azurerm_netapp_account_encryption.example.id
}
The following arguments are supported:
netapp_account_id
- (Required) The ID of the NetApp account where customer managed keys-based encryption is enabled.encryption_key
- The key vault encryption key.
system_assigned_identity_principal_id
- The ID of the System Assigned Manged Identity.
user_assigned_identity_id
- The ID of the User Assigned Managed Identity.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Account Encryption Resource.The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Account Encryption Resource.