cli
cli copied to clipboard
"fastly auth-token create --password=" saves to shell history with no warning
Version
alealetal@Ryke ~> fastly version
Fastly CLI version v3.1.0 (7844f9f)
Built with go version go1.18.3 linux/amd64
What happened
Command I ran
alealetal@Ryke ~> fastly auth-token create --password=badpassword
ERROR: the Fastly API returned 403 Forbidden: You must POST /sudo to access this endpoint.
alealetal@Ryke ~ [1]> history | grep badpassword
fastly auth-token create --password=badpassword
What I Expected to Happen
For this not to be saved to history, or for a popup to go "hey! You may have saved this to your shell history!"
What Happened Instead
Saved to history.