Creates a CLI configuration profile
Creates a CLI configuration profile based on the currently active profile and sets it as active. The profile name can be provided via the STACKIT_CLI_PROFILE environment variable or as an argument in this command. The environment variable takes precedence over the argument. If you do not want to set the profile as active, use the --no-set flag. If you want to create the new profile with the initial default configurations, use the --empty flag. If you want to create the new profile and ignore the error for an already existing profile, use the --ignore-existing flag.
stackit config profile create PROFILE [flags]
Create a new configuration profile "my-profile" with the current configuration, setting it as the active profile
$ stackit config profile create my-profile
Create a new configuration profile "my-profile" with a default initial configuration and don't set it as the active profile
$ stackit config profile create my-profile --empty --no-set
--empty Create the profile with the initial default configurations
-h, --help Help for "stackit config profile create"
--ignore-existing Suppress the error if the profile exists already. An existing profile will not be modified or overwritten
--no-set Do not set the profile as the active profile
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
- stackit config profile - Manage the CLI configuration profiles