This command is Experimental. To enable this command, run the apollo-cli configure
command and enable V2 experimental commands
.
Install a Module by ID into an Apollo Environment.
Copied!1
apollo-cli module install [flags]
Flag | Use |
---|---|
--environment (string) | Environment name |
--module-id (string) | Module ID |
-h, --help | Show help menu for install |
--variable (stringToString) | Module variables of the form KEY=VALUE . Can be specified multiple times. Default value is [] |
Flag | Use |
---|---|
--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 |
apollo-cli module
: Manage Apollo Modules.