-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(component): inject global secrets as environment variables (#786)
Because - Google Drive component will need the OAuth client secret and ID injected as an environment variable. - The number of component variables has grown enough as to have a dedicated environment file. This commit - Defines the component global variables in an environment file and injects them when running the docker container.
- Loading branch information
Showing
3 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Component global secrets | ||
|
||
# Provide your API key for the AI vendors so that you can set the components up | ||
# with default credentials. | ||
CFG_CONNECTOR_SECRETS_OPENAI_APIKEY= | ||
CFG_CONNECTOR_SECRETS_STABILITYAI_APIKEY= | ||
CFG_CONNECTOR_SECRETS_ANTHROPIC_APIKEY= | ||
CFG_CONNECTOR_SECRETS_COHERE_APIKEY= | ||
CFG_CONNECTOR_SECRETS_MISTRALAI_APIKEY= | ||
CFG_CONNECTOR_SECRETS_GROQ_APIKEY= | ||
CFG_CONNECTOR_SECRETS_FIREWORKSAI_APIKEY= | ||
|
||
# Numbers Protocol API key. | ||
CFG_CONNECTOR_SECRETS_NUMBERS_XAPIKEY= | ||
|
||
# OAuth secrets. When these are filled, the specified component will support | ||
# OAuth integrations. | ||
CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTID= | ||
CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTSECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters