Open saranshlamba opened 4 years ago
hey @saranshlamba
Thanks for opening this issue.
So that we can better understand the use-case/requirements here, would you be able to give a little more context on the use-case your looking to solve with this functionality?
Thanks!
@tombuildsstuff With this functionality it will be easier to store encrypted secrets in github as a source of truth. Right now there isn't an easy way to store and track secrets in git.
@tombuildsstuff Any updates on it, please?
@saranshlamba, correct me if I'm wrong, but just so I understand this use case:
azurerm_key_vault_key_encrypt
azurerm_key_vault_key_decrypt
data block, for use in other resources.This encrypts the contents of secrets in key vault so if you go to show secret value
in the key vault, it shows you an encrypted string instead of the plain text.
Community Note
Description
AWS provider has this data source which decrypts cipherblob and then stores it in plain text within secrets manager. Need similar functionality for azurerm, which will decrypt the cipherblob (using keyvault key) and then store it in plain text in keyvault secrets.
https://www.terraform.io/docs/providers/aws/d/kms_secrets.html