You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Workload Identity Federation like the stackit terraform provider #1327
Recently, I saw that the stackit terraform provider added Workload Identity Federation support with examples for github and Azure DevOps. Even though I didn't adopt it yet(see edit at the bottom), this seems like it'd also be useful feature for the CLI.
Part of my pipelines are a small set of kubectl commands I execute for initial ske cluster bootstrapping (I deliberately not use the kubernetes terraform provider for that). For this, I use the stackit cli to create a kubeconfig. For authentication against stackit, I have a service account key that I inject into the environment. If I understand correctly, with workload identity federation, I could skip explicitly providing the service account key in the pipeline.
Is this feature something that could be implemented for the CLI?
Proposed solution
Same implementation like the terraform provider via STACKIT_USE_OIDC="1" and STACKIT_SERVICE_ACCOUNT_EMAIL.
# assuming the setup in stackit portal is already done for the service account + WIFexport STACKIT_USE_OIDC="1"export STACKIT_SERVICE_ACCOUNT_EMAIL="<svc_acc_mail>"export STACKIT_ACCESS_TOKEN=$(stackit auth activate-service-account --only-print-access-token)
stackit ske kubeconfig create $cluster_name
Alternative solutions (optional)
Current auth method works fine for me.
Additional information
edit: Here is how I use WIF with the terraform provider.
Hi @philross,
we have discussed this enhancement request in team and created a work item to implement it.
We have not find a chance to work on it yet but we have an eye on this to support it as soon as possible. When we have further information or progress, we will comment in this issue.
We are always looking forward for the new contributions, whether from you or anyone else who would like to contribute.
For further questions, please feel free to get in touch with our team.
Regards,
Gökce from the STACKIT Developer Tools Team
Can confirm independently - this feature removes my bespoke curl/jq token dance that I had used as a stand-in for CLI WIF support in my GitHub Actions workflows previously. Thanks for the feature! 🙏🏻
Activity
Fyusel commentedon Mar 5, 2026
Hi @mardonner,
thank you for reporting this issue. We will have a look at it.
philross commentedon May 13, 2026
@Fyuse @GokceGK l Any update on this?
GokceGK commentedon May 20, 2026
Hi @philross,
we have discussed this enhancement request in team and created a work item to implement it.
We have not find a chance to work on it yet but we have an eye on this to support it as soon as possible. When we have further information or progress, we will comment in this issue.
We are always looking forward for the new contributions, whether from you or anyone else who would like to contribute.
For further questions, please feel free to get in touch with our team.
Regards,
Gökce from the STACKIT Developer Tools Team
philross commentedon Aug 3, 2026
@mardonner Release https://github.com/stackitcloud/stackit-cli/releases/tag/v0.68.0 brings WIF support, here is a small example from me using it:
mardonner commentedon Aug 3, 2026
Excited to test this. Thanks for the hard work!
AdrianoKF commentedon Aug 5, 2026
Can confirm independently - this feature removes my bespoke
curl/jqtoken dance that I had used as a stand-in for CLI WIF support in my GitHub Actions workflows previously. Thanks for the feature! 🙏🏻