kyma-project / cli

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

Use btpcli API to craft headless kubeconfig #2198

Closed kwiatekus closed 4 months ago

kwiatekus commented 4 months 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 4 months 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