Create or update an authentication context.
Creating authentication contexts enables the ability to work against multiple accounts.
codefresh auth create-context [name]
| Option | Alias | Default | Description |
|---|---|---|---|
| name | default | Context name |
| Option | Alias | Type | Default | Description |
|---|---|---|---|---|
| –cfconfig | Custom path for authentication contexts config file (default: ‘/root/.cfconfig’) | |||
| –help | Print help information | |||
| –url | string | https://g.codefresh.io | Codefresh system custom url | |
| –api-key | API key. required |
codefresh auth create-context --api-key KEY
codefresh auth create-context my-context --api-key KEY