🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJXekNDQVFHZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQVZNUk13RVFZRFZRUURFd3ByZFdKbGNtNWwKZEdWek1CNFhEVEkxTVRFd01qRTJOVEl3TWxvWERUTTFNVEV3TWpFMk5USXdNbG93RlRFVE1CRUdBMVVFQXhNSwphM1ZpWlhKdVpYUmxjekJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCQXB2YzI2VkorTHNNbTd1CkFjN21kenBoZGw4OEpobkVMY0FHUngvenBYWHhzclc4VVpFUjBHZmE4WkF2aENiSTc5bkhtUGYzRktOVVpaUkIKcnZvaVVveWpRakJBTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZApEZ1FXQkJUSVpFMXplZW9PcEJDbktoUzVCWGhKZzJ5TktUQUtCZ2dxaGtqT1BRUURBZ05JQURCRkFpQnJJd2NWCmNyVlZ5TmwySWtyQzB3Y1NrbGJ4RGU1ZEhJOHcyVDJkVjBJbzVBSWhBT0Zlb3JocmM4R0F2VDFWcEZiUEJPQmMKakFqdWRwU2taaitLdDcrK05hSFEKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
    server: https://739e0b9c-a703-4dd2-ad79-d68c01017246.api.k8s.fr-par.scw.cloud:6443
  name: cli-test-get-kubeconfig-with-envs
contexts:
- context:
    cluster: cli-test-get-kubeconfig-with-envs
    user: cli-config-3b1b8942
  name: admin@cli-test-get-kubeconfig-with-envs
current-context: admin@cli-test-get-kubeconfig-with-envs
kind: Config
preferences: {}
users:
- name: cli-config-3b1b8942
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1
      args:
      - k8s
      - exec-credential
      command: scw
      env:
      - name: SCW_PROFILE
        value: default
      installHint: |-
        This kubeconfig profile require scaleway-cli (scw) to authenticate.
        Installation instruction: https://github.com/scaleway/scaleway-cli#installation
      interactiveMode: Never

🟩🟩🟩 JSON STDOUT 🟩🟩🟩
"apiVersion: v1\nclusters:\n- cluster:\n    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJXekNDQVFHZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQVZNUk13RVFZRFZRUURFd3ByZFdKbGNtNWwKZEdWek1CNFhEVEkxTVRFd01qRTJOVEl3TWxvWERUTTFNVEV3TWpFMk5USXdNbG93RlRFVE1CRUdBMVVFQXhNSwphM1ZpWlhKdVpYUmxjekJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCQXB2YzI2VkorTHNNbTd1CkFjN21kenBoZGw4OEpobkVMY0FHUngvenBYWHhzclc4VVpFUjBHZmE4WkF2aENiSTc5bkhtUGYzRktOVVpaUkIKcnZvaVVveWpRakJBTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZApEZ1FXQkJUSVpFMXplZW9PcEJDbktoUzVCWGhKZzJ5TktUQUtCZ2dxaGtqT1BRUURBZ05JQURCRkFpQnJJd2NWCmNyVlZ5TmwySWtyQzB3Y1NrbGJ4RGU1ZEhJOHcyVDJkVjBJbzVBSWhBT0Zlb3JocmM4R0F2VDFWcEZiUEJPQmMKakFqdWRwU2taaitLdDcrK05hSFEKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=\n    server: https://739e0b9c-a703-4dd2-ad79-d68c01017246.api.k8s.fr-par.scw.cloud:6443\n  name: cli-test-get-kubeconfig-with-envs\ncontexts:\n- context:\n    cluster: cli-test-get-kubeconfig-with-envs\n    user: cli-config-3b1b8942\n  name: admin@cli-test-get-kubeconfig-with-envs\ncurrent-context: admin@cli-test-get-kubeconfig-with-envs\nkind: Config\npreferences: {}\nusers:\n- name: cli-config-3b1b8942\n  user:\n    exec:\n      apiVersion: client.authentication.k8s.io/v1\n      args:\n      - k8s\n      - exec-credential\n      command: scw\n      env:\n      - name: SCW_PROFILE\n        value: default\n      installHint: |-\n        This kubeconfig profile require scaleway-cli (scw) to authenticate.\n        Installation instruction: https://github.com/scaleway/scaleway-cli#installation\n      interactiveMode: Never\n"
