Version
Fastly CLI version v14.1.1 (548fb34)
Built with go version go1.25.8 darwin/arm64 (2026-03-23)
Viceroy version: viceroy 0.16.2
What happened
Sometime between fastly CLI version 11.4.0 and 14.1.1, the fastly profile token command was deprecated. The deprecation message is printed to standard out and is displayed despite the --quiet flag, which breaks its usage when substituted into other commands. For example, I often do something like:
curl -H "Fastly-Key: $(fastly profile token --quiet)" https://api.fastly.com/...
and this no longer works.
My suggested fix: obey the --quiet flag and don't print the deprecation warning in that case. Alternatively, print the deprecation warning to stderr rather than stdout.
Version
Fastly CLI version v14.1.1 (548fb34)
Built with go version go1.25.8 darwin/arm64 (2026-03-23)
Viceroy version: viceroy 0.16.2
What happened
Sometime between fastly CLI version 11.4.0 and 14.1.1, the
fastly profile tokencommand was deprecated. The deprecation message is printed to standard out and is displayed despite the--quietflag, which breaks its usage when substituted into other commands. For example, I often do something like:and this no longer works.
My suggested fix: obey the
--quietflag and don't print the deprecation warning in that case. Alternatively, print the deprecation warning to stderr rather than stdout.