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

updated usage example #9081

Merged
merged 4 commits into from
Aug 24, 2022
Merged

updated usage example #9081

merged 4 commits into from
Aug 24, 2022

Conversation

devops-rob
Copy link
Contributor

I changed the code in the docs for the transit secrets engine example because it assumes that the user is using a bash shell where the <<< redirect will work. I went through the example using the docker image that we publish and that doesn't use a bash shell so it didn't work.

I think using echo and piping into base64 command is much more universal and will work across all of the shells

@devops-rob devops-rob requested a review from eveld May 26, 2020 19:59
@hashicorp-cla
Copy link

hashicorp-cla commented May 26, 2020

CLA assistant check
All committers have signed the CLA.

@aphorise
Copy link
Contributor

IMO - request is reasonable - as opposed to using here strings (<<<) the echo is more readable especially for OS without it.

Copy link
Collaborator

@mladlow mladlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the one hand, I feel like this is very subjective. On the other hand I personally find here strings very confusing and would prefer the new syntax. @devops-rob I think you might need to update this PR from main before it can be merged.

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

Successfully merging this pull request may close these issues.

None yet

6 participants