Saltar al contenido principal

octopus config profile add

octopus config profile add​

Add a new configuration profile interactively

Synopsis​

Add a named profile to ~/.octopus/config.yaml through an interactive form.

Fails if a profile with that name already exists. After saving, asks whether to make the new profile the active one. The client secret is stored in the OS keychain, scoped to the profile.

octopus config profile add <name> [flags]

Examples​

octopus config profile add staging

Options​

-h, --help help for add

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​