Description
The authorization link message Your browser has been opened to visit and the following link is printed on stdout in addition to the actual output of the stackit cli operation. This leads to unwanted input if the stackit cli output is piped into another program.
Steps to reproduce
- Start without being logged in to STACKIT yet
- Run for example
stackit service-account key create -p project-id --email "sa-name@sa.stackit.cloud" -o json -y | vault kv patch -mount=engine path/to/secret key=-
Actual behavior
The Vault secret now contains
Your browser has been opened to visit:
https://accounts.stackit.cloud/oauth/v2/authorize?client_id=stackit-cli-0000-0000-000000000001&code_challenge=Zhx-5-nk3XrR54FFY5f9d1yIFtm4OZwsqYLX9b4xRxI&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A8000&response_type=code&scope=openid+offline_access+email
{
"active": true,
"createdAt": "2025-11-26T09:33:38.535Z",
[...]
Expected behavior
The secret should only contain
{
"active": true,
"createdAt": "2025-11-26T09:33:38.535Z",
[...]
Environment
- OS: MacOS
- Version: 0.48.0 (2025-11-18)
Additional information
Feel free to add any additional information here.
Description
The authorization link message
Your browser has been opened to visitand the following link is printed on stdout in addition to the actual output of the stackit cli operation. This leads to unwanted input if the stackit cli output is piped into another program.Steps to reproduce
stackit service-account key create -p project-id --email "sa-name@sa.stackit.cloud" -o json -y | vault kv patch -mount=engine path/to/secret key=-Actual behavior
The Vault secret now contains
Expected behavior
The secret should only contain
Environment
Additional information
Feel free to add any additional information here.