-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(integration): inject Google Drive OAuth details to pipeline and …
…console (#1143) Because - Google Drive component will need the OAuth client secret and ID injected as an environment variable. - These values are required in console, too. We need to define them in a single place. - It can be interesting to define other component values such as the AI component API keys. This commit - Defines the global component secrets as environment values and injects them into the required services.
- Loading branch information
Showing
5 changed files
with
50 additions
and
19 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
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,21 @@ | ||
# Provide your API key for the AI vendors so that you can set the components up | ||
# with default credentials. | ||
CFG_COMPONENT_SECRETS_OPENAI_APIKEY= | ||
CFG_COMPONENT_SECRETS_STABILITYAI_APIKEY= | ||
CFG_COMPONENT_SECRETS_ANTHROPIC_APIKEY= | ||
CFG_COMPONENT_SECRETS_COHERE_APIKEY= | ||
CFG_COMPONENT_SECRETS_MISTRALAI_APIKEY= | ||
CFG_COMPONENT_SECRETS_GROQ_APIKEY= | ||
CFG_COMPONENT_SECRETS_FIREWORKSAI_APIKEY= | ||
|
||
# Numbers Protocol API key. | ||
CFG_COMPONENT_SECRETS_NUMBERS_XAPIKEY= | ||
|
||
# OAuth secrets. When these are filled, the specified component will support | ||
# OAuth integrations. | ||
CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTID= | ||
CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTSECRET= | ||
CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTID= | ||
CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTSECRET= | ||
CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTID= | ||
CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTSECRET= |
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,8 @@ | ||
# Client variables for OAuth integrations. | ||
# These values depend on .env.component. | ||
INTEGRATION_GOOGLE_DRIVE_CLIENT_ID=${CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTID} | ||
INTEGRATION_GOOGLE_DRIVE_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTSECRET} | ||
INTEGRATION_SLACK_CLIENT_ID=${CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTID} | ||
INTEGRATION_SLACK_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTSECRET} | ||
INTEGRATION_GITHUB_CLIENT_ID=${CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTID} | ||
INTEGRATION_GITHUB_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTSECRET} |
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