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

Echo on OS X inserts a newline into its stdout #347

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/user-guide/secrets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ in json or yaml format, and then create that object.
Each item must be base64 encoded:

```shell
$ echo "admin" | base64
$ printf "admin" | base64
YWRtaW4K

Choose a reason for hiding this comment

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

YWRtaW4=

$ echo "1f2d1e2e67df" | base64
$ printf "1f2d1e2e67df" | base64
MWYyZDFlMmU2N2RmCg==

Choose a reason for hiding this comment

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

MWYyZDFlMmU2N2Rm

```

Expand Down Expand Up @@ -152,7 +152,7 @@ type: Opaque
Decode the password field:

```shell
$ echo "MWYyZDFlMmU2N2RmCg==" | base64 -D
$ printf "MWYyZDFlMmU2N2RmCg==" | base64 -D

Choose a reason for hiding this comment

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

$ printf "MWYyZDFlMmU2N2Rm" | base64 -d

Note the lowercase D

1f2d1e2e67df
```

Expand Down