Create Context

Description

Create or update an authentication context.

Creating authentication contexts enables the ability to work against multiple accounts.

Command

codefresh auth create-context [name]

Arguments

Option Alias Default Description
name default Context name

Options

Option Alias Default Description
--help Print help information
--url https://g.codefresh.io Codefresh system custom url
--api-key API key. required

Examples

Creating a default context using KEY as the api-key

codefresh auth create-context --api-key KEY

Creating a named context

codefresh auth create-context my-context --api-key KEY