Skip to content

Commit

Permalink
Also process base64 for generated secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jackson committed Jan 24, 2024
1 parent 7bcadb0 commit d6dd98a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/plugins/module_utils/parse_secrets_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,9 @@ def _inject_field(self, secret_name, f):
if override:
self.parsed_secrets[secret_name]["override"].append(f["name"])

if b64:
self.parsed_secrets[secret_name]["base64"].append(f["name"])

self.parsed_secrets[secret_name]["fields"][f["name"]] = None
self.parsed_secrets[secret_name]["vault_policies"][
f["name"]
Expand Down

0 comments on commit d6dd98a

Please sign in to comment.