After downloading the VCF CLI and following instructions to run vcf context commands, the following error message is returned:
vcf context create --endpoint=<Supervisor IP or hostname>
vcf context list
vcf context use <context name>
getting credentials: exec: executable vcf not found
vSphere Supervisor 9.
The VCF CLI is intended for OIDC workflows and generates a KUBECONFIG file for interfacing with the environment through this CLI tool.
Corresponding configuration files must be able to execute VCF CLI sub-commands to properly interact with the system.
This error message indicates that the VCF CLI binary executable "vcf" could not be found.
Rename the extracted vcf-cli binary file to vcf.
Linux
mv vcf-cli vcf