-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Add security note about JWT and passwords in shell history (#6011)
Co-authored-by: Alan Dooley <[email protected]>
- Loading branch information
1 parent
c185433
commit aef49fe
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
{{< note >}} For security, follow these practices with JSON Web Tokens (JWTs), passwords, and shell history: | ||
|
||
1. **JWTs:** JWTs are sensitive information. Store them securely. Delete them after use to prevent unauthorized access. | ||
|
||
1. **Shell history:** Commands that include JWTs or passwords are recorded in the history of your shell, in plain text. Clear your shell history after running such commands. For example, if you use bash, you can delete commands in your `~/.bash_history` file. Alternatively, you can run the `history -c` command to erase your shell history. | ||
|
||
Follow these practices to help ensure the security of your system and data. {{< /note >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters