terraform-provider-helm icon indicating copy to clipboard operation
terraform-provider-helm copied to clipboard

Redact sensitive values in arrays

Open nickkoza opened this issue 1 year ago • 1 comments

Description

When using set_sensitive no array values get redacted properly (as shown in the added test.) This updates cloakSetValue to iterate arbitrary nested structures and properly redact values.

Acceptance tests

  • [X] Have you added an acceptance test for the functionality being added?

Release Note

Release note for CHANGELOG:

Fixed issue with not redacting array values when using `set_sensitive`.

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

nickkoza avatar Jan 31 '24 23:01 nickkoza

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Jan 31 '24 23:01 hashicorp-cla