Merge pull request #341 from ryancurrah/ryancurrah-doc-transit-echofix

Do not output the trailing newline in encoding.
This commit is contained in:
Armon Dadgar 2015-06-15 17:36:01 -07:00
commit 07df5c251d

View file

@ -65,7 +65,7 @@ Now, if we wanted to encrypt a piece of plain text, we use the encrypt
endpoint using our named key:
```
$ echo "the quick brown fox" | base64 | vault write transit/encrypt/foo plaintext=-
$ echo -n "the quick brown fox" | base64 | vault write transit/encrypt/foo plaintext=-
Key Value
ciphertext vault:v0:czEwyKqGZY/limnuzDCUUe5AK0tbBObWqeZgFqxCuIqq7A84SeiOq3sKD0Y/KUvv
```