akeyless-community / terraform-provider-akeyless

Mozilla Public License 2.0
12 stars 10 forks source link

Mark the key attribute of rotated secrets as computed #110

Open phy1729 opened 1 month ago

phy1729 commented 1 month ago

For a rotated secret with the key left as null, a plan after the initial apply will show a diff

      - key                        = "acc-axxxxxxxxxxm__account-def-secrets-key__" -> null

This marks the key attribute as computed in addition to optional to let Terraform know the value may be set by the practitioner, but if left unset the provider may set a value.