Merge pull request #721 from jeremad/master
Some checks failed
Run integration tests for the cloud.google collection / integration (stable-2.16) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.17) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.18) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.19) (push) Has been cancelled

fix: return str on lookup of secret manager
This commit is contained in:
Chris Hawk 2025-10-17 17:07:21 -07:00 committed by GitHub
commit c7a4ef6acd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ class LookupModule(LookupBase):
self._display.vvv(msg=f"Module Parameters: {params}")
fake_module = GcpMockModule(params)
result = self.get_secret(fake_module)
return [base64.b64decode(result)]
return [base64.b64decode(result).decode("utf-8")]
def fallback_from_env(self, arg):
if self.get_option(arg):