🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJXakNDQVFHZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQVZNUk13RVFZRFZRUURFd3ByZFdKbGNtNWwKZEdWek1CNFhEVEkxTVRFd01qRTJOVEl3TWxvWERUTTFNVEV3TWpFMk5USXdNbG93RlRFVE1CRUdBMVVFQXhNSwphM1ZpWlhKdVpYUmxjekJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCRFk1cHdOUGR3N3FBRTdNCnV6MkJ2Qjc1ZWlSWS8yMTlEQ1RXUjdSWlpDajZqa2tqTjYzUTZNVzBMOG91RWxqdFhNSmZoYkhxbnN5SnBacVkKZWl0S2U5YWpRakJBTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZApEZ1FXQkJRY1gvRlVKNkVMTTg5dDNkV0tsNlZzVFRXR1dUQUtCZ2dxaGtqT1BRUURBZ05IQURCRUFpQkppMjhRCjcwbE12dUtKc1VaR1FmaEFZRWo0Wk5Fd09xNmcyS0lsL3p3ZUZRSWdjTlJiaHFNSlc0OGw2d0l1MjVMd0tXcHQKMGdlOFljWURKZmNISzR3bnFtTT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
    server: https://a2f96eb6-bdbc-4e9b-a70f-f45d17e98e60.api.k8s.fr-par.scw.cloud:6443
  name: cli-test-get-kubeconfig-with-flags-and-envs
contexts:
- context:
    cluster: cli-test-get-kubeconfig-with-flags-and-envs
    user: cli-config-90703896
  name: admin@cli-test-get-kubeconfig-with-flags-and-envs
current-context: admin@cli-test-get-kubeconfig-with-flags-and-envs
kind: Config
preferences: {}
users:
- name: cli-config-90703896
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1
      args:
      - --profile
      - default
      - k8s
      - exec-credential
      command: scw
      env:
      - name: SCW_PROFILE
        value: default2
      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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJXakNDQVFHZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQVZNUk13RVFZRFZRUURFd3ByZFdKbGNtNWwKZEdWek1CNFhEVEkxTVRFd01qRTJOVEl3TWxvWERUTTFNVEV3TWpFMk5USXdNbG93RlRFVE1CRUdBMVVFQXhNSwphM1ZpWlhKdVpYUmxjekJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCRFk1cHdOUGR3N3FBRTdNCnV6MkJ2Qjc1ZWlSWS8yMTlEQ1RXUjdSWlpDajZqa2tqTjYzUTZNVzBMOG91RWxqdFhNSmZoYkhxbnN5SnBacVkKZWl0S2U5YWpRakJBTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQjBHQTFVZApEZ1FXQkJRY1gvRlVKNkVMTTg5dDNkV0tsNlZzVFRXR1dUQUtCZ2dxaGtqT1BRUURBZ05IQURCRUFpQkppMjhRCjcwbE12dUtKc1VaR1FmaEFZRWo0Wk5Fd09xNmcyS0lsL3p3ZUZRSWdjTlJiaHFNSlc0OGw2d0l1MjVMd0tXcHQKMGdlOFljWURKZmNISzR3bnFtTT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=\n    server: https://a2f96eb6-bdbc-4e9b-a70f-f45d17e98e60.api.k8s.fr-par.scw.cloud:6443\n  name: cli-test-get-kubeconfig-with-flags-and-envs\ncontexts:\n- context:\n    cluster: cli-test-get-kubeconfig-with-flags-and-envs\n    user: cli-config-90703896\n  name: admin@cli-test-get-kubeconfig-with-flags-and-envs\ncurrent-context: admin@cli-test-get-kubeconfig-with-flags-and-envs\nkind: Config\npreferences: {}\nusers:\n- name: cli-config-90703896\n  user:\n    exec:\n      apiVersion: client.authentication.k8s.io/v1\n      args:\n      - --profile\n      - default\n      - k8s\n      - exec-credential\n      command: scw\n      env:\n      - name: SCW_PROFILE\n        value: default2\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"
