Set Active Context

Description

Set the current active authentication context.

Command

codefresh auth use-context <name>

Arguments

Option Alias Default Description
name a context-name that exists in cfconfig file

Options

Option Alias Type Default Description
--cfconfig Custom path for authentication contexts config file (default: ‘/root/.cfconfig’)
--help Print help information

Examples

Set active authentication context to NAME

codefresh auth use-context NAME