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

Support for storage account with CMKs encryption #188

Closed
1 task done
lonegunmanb opened this issue Nov 15, 2022 · 1 comment
Closed
1 task done

Support for storage account with CMKs encryption #188

lonegunmanb opened this issue Nov 15, 2022 · 1 comment

Comments

@lonegunmanb
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Description

As Checkov CKV2_AZURE_18 described, as users we might want to encrypt the storage account with CMK, so we need the ability to configure an azurerm_storage_account_customer_managed_key resource.

New or Affected Resource(s)/Data Source(s)

azurerm_storage_account_customer_managed_key

Potential Terraform Configuration

resource "azurerm_storage_account_customer_managed_key" "managed_key_good" {
  storage_account_id = azurerm_storage_account.storage_account_good_1.id
  key_vault_id       = azurerm_key_vault.example.id
  key_name           = azurerm_key_vault_key.example.name
  key_version = "1"
}

References

No response

@azureterraformbot
Copy link

Thanks for opening this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant