Search documentation
karat

+

K

apollo-cli environment [Experimental]

This command is Experimental. To enable this command, run the apollo-cli configure command and enable V2 experimental commands.

Manage Apollo Environments.

Copied!
1 apollo-cli environment [subcommand] [flags]

Flags inherited from parent commands

FlagUse
--apollo-token (string)Bearer Token to use for authenticated endpoints
--apollo-token-provider (string)Specifies how the Apollo Bearer Token used for authenticated Apollo endpoint calls is provided. Valid values are "auto", "static", or "service-user". If "auto" is specified, Apollo will use either the Bearer Token provided by "apollo-token" or a Bearer Token obtained by using "apollo-client-id" and "apollo-client-secret" to generate a token depending on which set of values are set (but will error if both values are set). If "static" is specified, the token specified using "apollo-token" is used. If "service-user" is specified, the token obtained by using "apollo-client-id" and "apollo-client-secret" to generate a token is used. The default value is "auto".
--apollo-client-id (string)Client ID to use for generating Bearer Token
--apollo-client-secret (string)Client secret to use for generating Bearer Token
--apollo-url (string)Base URL for Apollo that is used to derive the API endpoints
-h, --helpShow help menu for the environment command

Subcommands