kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
111 stars 118 forks source link

Use btpcli API to craft headless kubeconfig #2198

Closed kwiatekus closed 1 month ago

kwiatekus commented 1 month ago

Description Rework kyma alpha oidc command so that it can communicate with btp backend API (used by btp cli) to download kyma instance's kubeconfig and craft a headless version of it.

Instead of CIS credentials the user should be able to pass BTP accessToken obtained via oidc token request towards subacount trusted custem IAS tenant:

Attachments

Reason Better first-time experience when getting initial access.

kwiatekus commented 1 month ago

When using terraform (or tofu), the kubeconfig download URL is already available in the the state files. There is no real value in adding a extra command to download it.. Closing