Skip to content
New issue

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

Base64 decoding in JCasC #307

Open
amoutaux opened this issue Jul 11, 2023 · 0 comments
Open

Base64 decoding in JCasC #307

amoutaux opened this issue Jul 11, 2023 · 0 comments

Comments

@amoutaux
Copy link

amoutaux commented Jul 11, 2023

What feature do you want to see added?

The JCasC offers the base64 and decodeBase64 helpers that can be applied to a secret prior to use, but they are not applicable here. Also, the secretBytes of a file Credential are automatically base64-decoded before being passed to a pipeline.

When migrating to hashicorp-vault-plugin (say from file Credential to vaultFileCredentialImpl), there is no way to retrieve the same behavior. A base64-encoded file that lies in Vault cannot be passed to a pipeline decoded already which forces us to modify the way pipelines handle such Credentials.

Did I miss anything ?

Thanks a lot

Upstream changes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant