Skip to content

updated usage example#9081

Merged
ncabatoff merged 4 commits into
mainfrom
transit_docs
Aug 24, 2022
Merged

updated usage example#9081
ncabatoff merged 4 commits into
mainfrom
transit_docs

Conversation

@devops-rob
Copy link
Copy Markdown
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
Copy Markdown

hashicorp-cla commented May 26, 2020

CLA assistant check
All committers have signed the CLA.

@aphorise
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@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.

@ncabatoff ncabatoff merged commit e9b3351 into main Aug 24, 2022
@ncabatoff ncabatoff deleted the transit_docs branch August 24, 2022 13:03
anwittin pushed a commit that referenced this pull request Sep 18, 2025
As part of this we also update the pin of gotestsum to 1.12.3 to allow
for building it with Go 1.25.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
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.

6 participants