When authenticating with spacectl (`spacectl profile login`) a UI is being presented, allowing to set pre-defined roles, in the same UI it is possible to select the permission set/role/boundaries for the token
Allow passing role in the config.yaml/spacectl command line
Allow setting up personal token with permissions
Red Glacier
•
May 6
It is also worth clarifying that another problem with the Workaround is that the Spacectl documentation states the order of authentication method selection is:
Spacelift API tokens
GitHub tokens
Spacelift API keys
Which means that where a users default profile is using any Token based authentication method the API Key environment variables would be ignored.
Natalia Gazda
Team•
May 6
Hey Dale!
Thank you for the detailed request. That makes a lot of sense and I’m taking it straight to the team. I will keep you posted once we have a timeline :)
Log in to comment and vote
Comments3
Purple Cookie
Jun 9
I second this request.
Possible good solutions are:
When authenticating with spacectl (`spacectl profile login`) a UI is being presented, allowing to set pre-defined roles, in the same UI it is possible to select the permission set/role/boundaries for the token
Allow passing role in the config.yaml/spacectl command line
Allow setting up personal token with permissions
Red Glacier
May 6
It is also worth clarifying that another problem with the Workaround is that the Spacectl documentation states the order of authentication method selection is:
Spacelift API tokens
GitHub tokens
Spacelift API keys
Which means that where a users default profile is using any Token based authentication method the API Key environment variables would be ignored.
Natalia Gazda
May 6
Hey Dale!
Thank you for the detailed request. That makes a lot of sense and I’m taking it straight to the team. I will keep you posted once we have a timeline :)