C

Codefresh GitOps CLI

CLI discovered

Details
Command
cf
Docs
https://codefresh.io/docs/docs/installation/gitops/upgrade-gitops-cli/
Authentication
Codefresh API key api_key discovered Get key ↗
$ cf config create-context codefresh --api-key <generatedKey>

Log in to Codefresh and open User Settings. In the API Keys section, generate a new key, give it a name, select scopes, and copy the resulting token. The API integration guide at Codefresh API pipeline integration also points to this flow. For service-account automation, admins can generate a key from Managing service accounts.