We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loadSecret
Currently it is expected that secrets will be of the format
FOO=bar
But if they are just
my_secret
then they fail to parse. This should at least be documented, and ideally fixed.
Put another way, this test fails:
it('still works if secret is single value', async () => { const fakeClient = { accessSecretVersion: async () => { return [{ payload: { data: 'single_value_secret' } }] } } as unknown as SecretManagerServiceClient await expect(await loadSecret('/foo', fakeClient)).toBe('single_value_secret') })
AC:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently it is expected that secrets will be of the format
But if they are just
then they fail to parse. This should at least be documented, and ideally fixed.
Put another way, this test fails:
AC:
The text was updated successfully, but these errors were encountered: