tfctl profile profiles activate
The tfctl profile profiles activate command activates an existing profile.
Usage
$ tfctl profile profiles activate NAME [options]
Description
The tfctl profile profiles activate command activates an existing profile. Once activated, the profile becomes the default profile used by all tfctl commands unless overridden with the --profile global flag.
Arguments
NAME: (Required) The name of the profile to activate.
Global flags
All tfctl commands support options that control output formatting and CLI behavior. Refer to Global flags reference for the complete list of available options.
Examples
The following examples demonstrate how to activate an existing profile.
Activate a profile by name
The following example activates a profile by name. Replace <PROFILE_NAME> with the name of the profile to activate.
$ tfctl profile profiles activate <PROFILE_NAME>
Activate the default profile
The following example activates the default profile.
$ tfctl profile profiles activate default