Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge remote-tracking branch 'refs/remotes/origin/main'

Aashish-Upadhyay-101c233fd8ed113
diff --cc backend/src/controllers/v1/integrationAuthController.ts
index 2153534459,4150890ac9..11cbd6f643
--- a/backend/src/controllers/v1/integrationAuthController.ts
+++ b/backend/src/controllers/v1/integrationAuthController.ts
@@@ -81,26 -84,31 +81,31 @@@ export const oAuthExchange = async
};
/**
- * Save integration access token as part of integration [integration] for workspace with id [workspaceId]
- * @param req
- * @param res
+ * Save integration access token and (optionally) access id as part of integration
+ * [integration] for workspace with id [workspaceId]
+ * @param req
+ * @param res
*/
export const saveIntegrationAccessToken = async (
- req: Request,
- res: Response
+ req: Request,
+ res: Response
) => {
- // TODO: refactor
- let integrationAuth;
- try {
- const {
- workspaceId,
- accessToken,
- integration,
- }: {
- workspaceId: string;
- accessToken: string;
- integration: string;
- } = req.body;
+ // TODO: refactor
+ // TODO: check if access token is valid for each integration
+
+ let integrationAuth;
+ try {
+ const {
+ workspaceId,
+ accessId,
+ accessToken,
+ integration
+ }: {
+ workspaceId: string;
+ accessId: string | null;
+ accessToken: string;
+ integration: string;
+ } = req.body;
const bot = await Bot.findOne({
workspace: new Types.ObjectId(workspaceId),
diff --cc backend/src/integrations/apps.ts
index ef0e36455b,f0f30f8979..2544703561
--- a/backend/src/integrations/apps.ts
+++ b/backend/src/integrations/apps.ts
@@@ -1,9 -1,11 +1,11 @@@
-import axios from 'axios';
-import * as Sentry from '@sentry/node';
-import { Octokit } from '@octokit/rest';
-import { IIntegrationAuth } from '../models';
+import axios from "axios";
+import * as Sentry from "@sentry/node";
+import { Octokit } from "@octokit/rest";
+import { IIntegrationAuth } from "../models";
import {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
INTEGRATION_HEROKU,
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
@@@ -44,13 -44,17 +46,17 @@@ const getApps = async (
try {
switch (integrationAuth.integration) {
case INTEGRATION_AZURE_KEY_VAULT:
- apps = await getAppsAzureKeyVault({
- accessToken
- });
- break;
+ apps = [];
+ break;
+ case INTEGRATION_AWS_PARAMETER_STORE:
+ apps = [];
+ break;
+ case INTEGRATION_AWS_SECRET_MANAGER:
+ apps = [];
+ break;
case INTEGRATION_HEROKU:
apps = await getAppsHeroku({
- accessToken
+ accessToken,
});
break;
case INTEGRATION_VERCEL:
@@@ -154,14 -144,13 +151,15 @@@ const getAppsVercel = async (
await axios.get(`${INTEGRATION_VERCEL_API_URL}/v9/projects`, {
headers: {
Authorization: `Bearer ${accessToken}`,
- 'Accept-Encoding': 'application/json'
++ 'Accept-Encoding': 'application/json',
},
- ...( integrationAuth?.teamId ? {
- params: {
- teamId: integrationAuth.teamId
- }
- } : {})
+ ...(integrationAuth?.teamId
+ ? {
+ params: {
+ teamId: integrationAuth.teamId,
+ },
+ }
+ : {}),
})
).data;
@@@ -191,7 -184,8 +189,8 @@@ const getAppsNetlify = async ({ accessT
await axios.get(`${INTEGRATION_NETLIFY_API_URL}/api/v1/sites`, {
headers: {
Authorization: `Bearer ${accessToken}`,
- 'Accept-Encoding': 'application/json'
- }
++ 'Accept-Encoding': 'application/json',
+ },
})
).data;
diff --cc backend/src/integrations/sync.ts
index 331dadee10,222fa940a5..b78070e5ad
--- a/backend/src/integrations/sync.ts
+++ b/backend/src/integrations/sync.ts
@@@ -1,10 -1,21 +1,21 @@@
-import axios from 'axios';
-import * as Sentry from '@sentry/node';
+import axios from "axios";
+import * as Sentry from "@sentry/node";
+ import _ from 'lodash';
+ import AWS from 'aws-sdk';
+ import {
+ SecretsManagerClient,
+ UpdateSecretCommand,
+ CreateSecretCommand,
+ GetSecretValueCommand,
+ ResourceNotFoundException
+ } from '@aws-sdk/client-secrets-manager';
-import { Octokit } from '@octokit/rest';
-import sodium from 'libsodium-wrappers';
-import { IIntegration, IIntegrationAuth } from '../models';
+import { Octokit } from "@octokit/rest";
+import sodium from "libsodium-wrappers";
+import { IIntegration, IIntegrationAuth } from "../models";
import {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
INTEGRATION_HEROKU,
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
@@@ -33,7 -42,8 +45,8 @@@ const syncSecrets = async (
integration,
integrationAuth,
secrets,
+ accessId,
- accessToken
+ accessToken,
}: {
integration: IIntegration;
integrationAuth: IIntegrationAuth;
@@@ -311,168 -514,156 +523,158 @@@ const syncSecretsHeroku = async (
* @param {Object} obj.secrets - secrets to push to integration (object where keys are secret keys and values are secret values)
*/
const syncSecretsVercel = async ({
- integration,
- integrationAuth,
- secrets,
- accessToken
+ integration,
+ integrationAuth,
+ secrets,
+ accessToken,
}: {
- integration: IIntegration,
- integrationAuth: IIntegrationAuth,
- secrets: any;
- accessToken: string;
+ integration: IIntegration;
+ integrationAuth: IIntegrationAuth;
+ secrets: any;
+ accessToken: string;
}) => {
- interface VercelSecret {
- id?: string;
- type: string;
- key: string;
- value: string;
- target: string[];
- }
-
- try {
- // Get all (decrypted) secrets back from Vercel in
- // decrypted format
- const params: { [key: string]: string } = {
- decrypt: 'true',
- ...( integrationAuth?.teamId ? {
- teamId: integrationAuth.teamId
- } : {})
- }
-
- const res = (await Promise.all((await axios.get(
- `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env`,
- {
+ interface VercelSecret {
+ id?: string;
+ type: string;
+ key: string;
+ value: string;
+ target: string[];
+ }
+
+ try {
+ // Get all (decrypted) secrets back from Vercel in
+ // decrypted format
+ const params: { [key: string]: string } = {
+ decrypt: "true",
+ ...(integrationAuth?.teamId
+ ? {
+ teamId: integrationAuth.teamId,
+ }
+ : {}),
+ };
+
+ const res = (
+ await Promise.all(
+ (
+ await axios.get(
+ `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env`,
+ {
params,
headers: {
- Authorization: `Bearer ${accessToken}`,
- },
- }
- )
- ).data.envs
- .filter((secret: VercelSecret) =>
- secret.target.includes(integration.targetEnvironment)
- )
- .map(
- async (secret: VercelSecret) =>
- (
- await axios.get(
- `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
- {
- params,
- headers: {
- Authorization: `Bearer ${accessToken}`,
- },
- }
- )
- ).data
- )
- )
- ).reduce(
- (obj: any, secret: any) => ({
- ...obj,
- [secret.key]: secret,
- }),
- {}
- );
+ Authorization: `Bearer ${accessToken}`
+ }
+ }
+ ))
+ .data
+ .envs
+ .filter((secret: VercelSecret) => secret.target.includes(integration.targetEnvironment))
+ .map(async (secret: VercelSecret) => (await axios.get(
+ `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
+ {
+ params,
+ headers: {
+ Authorization: `Bearer ${accessToken}`
+ }
+ }
+ )).data)
+ )).reduce((obj: any, secret: any) => ({
+ ...obj,
+ [secret.key]: secret
+ }), {});
- const updateSecrets: VercelSecret[] = [];
- const deleteSecrets: VercelSecret[] = [];
- const newSecrets: VercelSecret[] = [];
+ const updateSecrets: VercelSecret[] = [];
+ const deleteSecrets: VercelSecret[] = [];
+ const newSecrets: VercelSecret[] = [];
- // Identify secrets to create
- Object.keys(secrets).map((key) => {
- if (!(key in res)) {
- // case: secret has been created
- newSecrets.push({
- key: key,
- value: secrets[key],
- type: 'encrypted',
- target: [integration.targetEnvironment]
- });
- }
- });
-
- // Identify secrets to update and delete
- Object.keys(res).map((key) => {
- if (key in secrets) {
- if (res[key].value !== secrets[key]) {
- // case: secret value has changed
- updateSecrets.push({
- id: res[key].id,
- key: key,
- value: secrets[key],
- type: 'encrypted',
- target: [integration.targetEnvironment]
- });
- }
- } else {
- // case: secret has been deleted
- deleteSecrets.push({
- id: res[key].id,
- key: key,
- value: res[key].value,
- type: 'encrypted',
- target: [integration.targetEnvironment],
- });
- }
- });
-
- // Sync/push new secrets
- if (newSecrets.length > 0) {
- await axios.post(
- `${INTEGRATION_VERCEL_API_URL}/v10/projects/${integration.app}/env`,
- newSecrets,
- {
- params,
- headers: {
- Authorization: `Bearer ${accessToken}`
- }
- }
- );
+ // Identify secrets to create
+ Object.keys(secrets).map((key) => {
+ if (!(key in res)) {
+ // case: secret has been created
+ newSecrets.push({
+ key: key,
+ value: secrets[key],
+ type: "encrypted",
+ target: [integration.targetEnvironment],
+ });
}
+ });
- // Sync/push updated secrets
- if (updateSecrets.length > 0) {
- updateSecrets.forEach(async (secret: VercelSecret) => {
- const {
- id,
- ...updatedSecret
- } = secret;
- await axios.patch(
- `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
- updatedSecret,
- {
- params,
- headers: {
- Authorization: `Bearer ${accessToken}`
- }
- }
- );
+ // Identify secrets to update and delete
+ Object.keys(res).map((key) => {
+ if (key in secrets) {
+ if (res[key].value !== secrets[key]) {
+ // case: secret value has changed
+ updateSecrets.push({
+ id: res[key].id,
+ key: key,
+ value: secrets[key],
+ type: "encrypted",
+ target: [integration.targetEnvironment],
});
+ }
+ } else {
+ // case: secret has been deleted
+ deleteSecrets.push({
+ id: res[key].id,
+ key: key,
+ value: res[key].value,
+ type: "encrypted",
+ target: [integration.targetEnvironment],
+ });
}
+ });
- // Delete secrets
- if (deleteSecrets.length > 0) {
- deleteSecrets.forEach(async (secret: VercelSecret) => {
- await axios.delete(
- `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
- {
- params,
- headers: {
- Authorization: `Bearer ${accessToken}`
- }
- }
- );
- });
- }
- } catch (err) {
- Sentry.setUser(null);
- Sentry.captureException(err);
- throw new Error('Failed to sync secrets to Vercel');
+ // Sync/push new secrets
+ if (newSecrets.length > 0) {
+ await axios.post(
+ `${INTEGRATION_VERCEL_API_URL}/v10/projects/${integration.app}/env`,
+ newSecrets,
+ {
+ params,
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ );
}
-}
+
+ // Sync/push updated secrets
+ if (updateSecrets.length > 0) {
+ updateSecrets.forEach(async (secret: VercelSecret) => {
+ const { id, ...updatedSecret } = secret;
+ await axios.patch(
+ `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
+ updatedSecret,
+ {
+ params,
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ );
+ });
+ }
+
+ // Delete secrets
+ if (deleteSecrets.length > 0) {
+ deleteSecrets.forEach(async (secret: VercelSecret) => {
+ await axios.delete(
+ `${INTEGRATION_VERCEL_API_URL}/v9/projects/${integration.app}/env/${secret.id}`,
+ {
+ params,
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ },
+ }
+ );
+ });
+ }
+ } catch (err) {
+ Sentry.setUser(null);
+ Sentry.captureException(err);
+ throw new Error("Failed to sync secrets to Vercel");
+ }
+};
/**
* Sync/push [secrets] to Netlify site with id [integration.appId]
diff --cc backend/src/models/integration.ts
index 95ed9f4a98,ddf31feb7b..1b52fabd9a
--- a/backend/src/models/integration.ts
+++ b/backend/src/models/integration.ts
@@@ -1,6 -1,8 +1,8 @@@
-import { Schema, model, Types } from 'mongoose';
+import { Schema, model, Types } from "mongoose";
import {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
INTEGRATION_HEROKU,
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
@@@ -19,15 -20,18 +21,19 @@@ export interface IIntegration
owner: string;
targetEnvironment: string;
appId: string;
+ path: string;
+ region: string;
integration:
- | "heroku"
- | "vercel"
- | "netlify"
- | "github"
- | "render"
- | "flyio"
- | "azure-key-vault"
- | "circleci";
+ | 'azure-key-vault'
+ | 'aws-parameter-store'
+ | 'aws-secret-manager'
+ | 'heroku'
+ | 'vercel'
+ | 'netlify'
+ | 'github'
+ | 'render'
- | 'flyio';
++ | 'flyio'
++ | 'circleci';
integrationAuth: Types.ObjectId;
}
@@@ -66,8 -68,18 +72,18 @@@ const integrationSchema = new Schema<II
owner: {
// github-specific repo owner-login
type: String,
- default: null
+ default: null,
},
+ path: {
+ // aws-parameter-store-specific path
+ type: String,
+ default: null
+ },
+ region: {
+ // aws-parameter-store-specific path
+ type: String,
+ default: null
+ },
integration: {
type: String,
enum: [
diff --cc backend/src/models/integrationAuth.ts
index 858a2e4140,ebe9daa55e..a872023e03
--- a/backend/src/models/integrationAuth.ts
+++ b/backend/src/models/integrationAuth.ts
@@@ -1,27 -1,31 +1,33 @@@
-import { Schema, model, Types } from 'mongoose';
+import { Schema, model, Types } from "mongoose";
import {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
INTEGRATION_HEROKU,
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
INTEGRATION_GITHUB,
+ INTEGRATION_RENDER,
- INTEGRATION_FLYIO
-} from '../variables';
++ INTEGRATION_FLYIO,
+ INTEGRATION_CIRCLECI,
+} from "../variables";
export interface IIntegrationAuth {
_id: Types.ObjectId;
workspace: Types.ObjectId;
integration:
- | "heroku"
- | "vercel"
- | "netlify"
- | "github"
- | "render"
- | "flyio"
- | "azure-key-vault"
- | "circleci";
- teamId: string;
- accountId: string;
+ | 'azure-key-vault'
+ | 'aws-parameter-store'
+ | 'aws-secret-manager'
+ | 'heroku'
+ | 'vercel'
+ | 'netlify'
+ | 'github'
+ | 'render'
- | 'flyio';
++ | 'flyio'
++ | 'circleci';
+ teamId: string; // TODO: deprecate (vercel) -> move to accessId
+ accountId: string; // TODO: deprecate (netlify) -> move to accessId
refreshCiphertext?: string;
refreshIV?: string;
refreshTag?: string;
@@@ -46,9 -55,10 +57,11 @@@ const integrationAuthSchema = new Schem
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
INTEGRATION_GITHUB,
+ INTEGRATION_RENDER,
- INTEGRATION_FLYIO
++ INTEGRATION_FLYIO,
+ INTEGRATION_CIRCLECI,
],
- required: true
+ required: true,
},
teamId: {
// vercel-specific integration param
@@@ -68,11 -78,23 +81,23 @@@
},
refreshTag: {
type: String,
- select: false
+ select: false,
},
+ accessIdCiphertext: {
+ type: String,
+ select: false
+ },
+ accessIdIV: {
+ type: String,
+ select: false
+ },
+ accessIdTag: {
+ type: String,
+ select: false
+ },
accessCiphertext: {
type: String,
- select: false
+ select: false,
},
accessIV: {
type: String,
diff --cc backend/src/variables/index.ts
index 33307af4b0,182b23db16..52feec126e
--- a/backend/src/variables/index.ts
+++ b/backend/src/variables/index.ts
@@@ -3,10 -3,12 +3,12 @@@ import
ENV_TESTING,
ENV_STAGING,
ENV_PROD,
- ENV_SET
-} from './environment';
+ ENV_SET,
+} from "./environment";
import {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
INTEGRATION_HEROKU,
INTEGRATION_VERCEL,
INTEGRATION_NETLIFY,
diff --cc backend/src/variables/integration.ts
index 77b3a80a16,d22059cb93..de7853ffab
--- a/backend/src/variables/integration.ts
+++ b/backend/src/variables/integration.ts
@@@ -11,22 -11,22 +11,24 @@@ import
// integrations
const INTEGRATION_AZURE_KEY_VAULT = 'azure-key-vault';
+ const INTEGRATION_AWS_PARAMETER_STORE = 'aws-parameter-store';
+ const INTEGRATION_AWS_SECRET_MANAGER = 'aws-secret-manager';
-const INTEGRATION_HEROKU = 'heroku';
-const INTEGRATION_VERCEL = 'vercel';
-const INTEGRATION_NETLIFY = 'netlify';
-const INTEGRATION_GITHUB = 'github';
-const INTEGRATION_RENDER = 'render';
-const INTEGRATION_FLYIO = 'flyio';
+const INTEGRATION_HEROKU = "heroku";
+const INTEGRATION_VERCEL = "vercel";
+const INTEGRATION_NETLIFY = "netlify";
+const INTEGRATION_GITHUB = "github";
+const INTEGRATION_RENDER = "render";
+const INTEGRATION_FLYIO = "flyio";
+const INTEGRATION_CIRCLECI = "circleci";
const INTEGRATION_SET = new Set([
INTEGRATION_AZURE_KEY_VAULT,
- INTEGRATION_HEROKU,
- INTEGRATION_VERCEL,
- INTEGRATION_NETLIFY,
- INTEGRATION_GITHUB,
- INTEGRATION_RENDER,
- INTEGRATION_FLYIO
+ INTEGRATION_HEROKU,
+ INTEGRATION_VERCEL,
+ INTEGRATION_NETLIFY,
+ INTEGRATION_GITHUB,
+ INTEGRATION_RENDER,
+ INTEGRATION_FLYIO,
+ INTEGRATION_CIRCLECI,
]);
// integration types
@@@ -36,20 -36,92 +38,93 @@@ const INTEGRATION_OAUTH2 = "oauth2"
const INTEGRATION_AZURE_TOKEN_URL = `https://login.microsoftonline.com/${TENANT_ID_AZURE}/oauth2/v2.0/token`;
const INTEGRATION_HEROKU_TOKEN_URL = 'https://id.heroku.com/oauth/token';
const INTEGRATION_VERCEL_TOKEN_URL =
- 'https://api.vercel.com/v2/oauth/access_token';
-const INTEGRATION_NETLIFY_TOKEN_URL = 'https://api.netlify.com/oauth/token';
+ "https://api.vercel.com/v2/oauth/access_token";
+const INTEGRATION_NETLIFY_TOKEN_URL = "https://api.netlify.com/oauth/token";
const INTEGRATION_GITHUB_TOKEN_URL =
- 'https://github.com/login/oauth/access_token';
+ "https://github.com/login/oauth/access_token";
// integration apps endpoints
-const INTEGRATION_HEROKU_API_URL = 'https://api.heroku.com';
-const INTEGRATION_VERCEL_API_URL = 'https://api.vercel.com';
-const INTEGRATION_NETLIFY_API_URL = 'https://api.netlify.com';
-const INTEGRATION_RENDER_API_URL = 'https://api.render.com';
-const INTEGRATION_FLYIO_API_URL = 'https://api.fly.io/graphql';
+const INTEGRATION_HEROKU_API_URL = "https://api.heroku.com";
+const INTEGRATION_VERCEL_API_URL = "https://api.vercel.com";
+const INTEGRATION_NETLIFY_API_URL = "https://api.netlify.com";
+const INTEGRATION_RENDER_API_URL = "https://api.render.com";
+const INTEGRATION_FLYIO_API_URL = "https://api.fly.io/graphql";
+const INTEGRATION_CIRCLECI_API_URL = "https://circleci.com/api";
const INTEGRATION_OPTIONS = [
+ {
+ name: 'Heroku',
+ slug: 'heroku',
+ image: 'Heroku.png',
+ isAvailable: true,
+ type: 'oauth',
+ clientId: CLIENT_ID_HEROKU,
+ docsLink: ''
+ },
+ {
+ name: 'Vercel',
+ slug: 'vercel',
+ image: 'Vercel.png',
+ isAvailable: true,
+ type: 'oauth',
+ clientId: '',
+ clientSlug: CLIENT_SLUG_VERCEL,
+ docsLink: ''
+ },
+ {
+ name: 'Netlify',
+ slug: 'netlify',
+ image: 'Netlify.png',
+ isAvailable: true,
+ type: 'oauth',
+ clientId: CLIENT_ID_NETLIFY,
+ docsLink: ''
+ },
+ {
+ name: 'GitHub',
+ slug: 'github',
+ image: 'GitHub.png',
+ isAvailable: true,
+ type: 'oauth',
+ clientId: CLIENT_ID_GITHUB,
+ docsLink: ''
+ },
+ {
+ name: 'Render',
+ slug: 'render',
+ image: 'Render.png',
+ isAvailable: true,
+ type: 'pat',
+ clientId: '',
+ docsLink: ''
+ },
+ {
+ name: 'Fly.io',
+ slug: 'flyio',
+ image: 'Flyio.svg',
+ isAvailable: true,
+ type: 'pat',
+ clientId: '',
+ docsLink: ''
+ },
+ {
+ name: 'AWS Parameter Store',
+ slug: 'aws-parameter-store',
+ image: 'Amazon Web Services.png',
+ isAvailable: true,
+ type: 'custom',
+ clientId: '',
+ docsLink: ''
+ },
+ {
+ name: 'AWS Secret Manager',
+ slug: 'aws-secret-manager',
+ image: 'Amazon Web Services.png',
+ isAvailable: true,
+ type: 'custom',
+ clientId: '',
+ docsLink: ''
+ },
{
name: 'Azure Key Vault',
slug: 'azure-key-vault',
@@@ -60,129 -132,56 +135,58 @@@
tenantId: TENANT_ID_AZURE,
docsLink: ''
},
- {
- name: "Heroku",
- slug: "heroku",
- image: "Heroku.png",
- isAvailable: true,
- type: "oauth",
- clientId: CLIENT_ID_HEROKU,
- docsLink: "",
- },
- {
- name: "Vercel",
- slug: "vercel",
- image: "Vercel.png",
- isAvailable: true,
- type: "oauth",
- clientId: "",
- clientSlug: CLIENT_SLUG_VERCEL,
- docsLink: "",
- },
- {
- name: "Netlify",
- slug: "netlify",
- image: "Netlify.png",
- isAvailable: true,
- type: "oauth",
- clientId: CLIENT_ID_NETLIFY,
- docsLink: "",
- },
- {
- name: "GitHub",
- slug: "github",
- image: "GitHub.png",
- isAvailable: true,
- type: "oauth",
- clientId: CLIENT_ID_GITHUB,
- docsLink: "",
- },
- {
- name: "Render",
- slug: "render",
- image: "Render.png",
- isAvailable: true,
- type: "pat",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Fly.io",
- slug: "flyio",
- image: "Flyio.svg",
- isAvailable: true,
- type: "pat",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Google Cloud Platform",
- slug: "gcp",
- image: "Google Cloud Platform.png",
- isAvailable: false,
- type: "",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Amazon Web Services",
- slug: "aws",
- image: "Amazon Web Services.png",
- isAvailable: false,
- type: "",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Microsoft Azure",
- slug: "azure",
- image: "Microsoft Azure.png",
- isAvailable: false,
- type: "",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Travis CI",
- slug: "travisci",
- image: "Travis CI.png",
- isAvailable: false,
- type: "",
- clientId: "",
- docsLink: "",
- },
- {
- name: "Circle CI",
- slug: "circleci",
- image: "Circle CI.png",
- isAvailable: true,
- type: "pat",
- clientId: "",
- docsLink: "",
- },
- ];
+ {
+ name: 'Google Cloud Platform',
+ slug: 'gcp',
+ image: 'Google Cloud Platform.png',
+ isAvailable: false,
+ type: '',
+ clientId: '',
+ docsLink: ''
+ },
+ {
+ name: 'Travis CI',
+ slug: 'travisci',
+ image: 'Travis CI.png',
+ isAvailable: false,
+ type: '',
+ clientId: '',
+ docsLink: ''
+ },
+ {
+ name: 'Circle CI',
+ slug: 'circleci',
+ image: 'Circle CI.png',
- isAvailable: false,
- type: '',
++ isAvailable: true,
++ type: 'pat',
+ clientId: '',
+ docsLink: ''
+ }
+ ]
export {
INTEGRATION_AZURE_KEY_VAULT,
+ INTEGRATION_AWS_PARAMETER_STORE,
+ INTEGRATION_AWS_SECRET_MANAGER,
- INTEGRATION_HEROKU,
- INTEGRATION_VERCEL,
- INTEGRATION_NETLIFY,
- INTEGRATION_GITHUB,
- INTEGRATION_RENDER,
- INTEGRATION_FLYIO,
- INTEGRATION_SET,
- INTEGRATION_OAUTH2,
+ INTEGRATION_HEROKU,
+ INTEGRATION_VERCEL,
+ INTEGRATION_NETLIFY,
+ INTEGRATION_GITHUB,
+ INTEGRATION_RENDER,
+ INTEGRATION_FLYIO,
+ INTEGRATION_CIRCLECI,
+ INTEGRATION_SET,
+ INTEGRATION_OAUTH2,
INTEGRATION_AZURE_TOKEN_URL,
- INTEGRATION_HEROKU_TOKEN_URL,
- INTEGRATION_VERCEL_TOKEN_URL,
- INTEGRATION_NETLIFY_TOKEN_URL,
- INTEGRATION_GITHUB_TOKEN_URL,
- INTEGRATION_HEROKU_API_URL,
- INTEGRATION_VERCEL_API_URL,
- INTEGRATION_NETLIFY_API_URL,
- INTEGRATION_RENDER_API_URL,
- INTEGRATION_FLYIO_API_URL,
- INTEGRATION_OPTIONS
+ INTEGRATION_HEROKU_TOKEN_URL,
+ INTEGRATION_VERCEL_TOKEN_URL,
+ INTEGRATION_NETLIFY_TOKEN_URL,
+ INTEGRATION_GITHUB_TOKEN_URL,
+ INTEGRATION_HEROKU_API_URL,
+ INTEGRATION_VERCEL_API_URL,
+ INTEGRATION_NETLIFY_API_URL,
+ INTEGRATION_RENDER_API_URL,
+ INTEGRATION_FLYIO_API_URL,
+ INTEGRATION_CIRCLECI_API_URL,
+ INTEGRATION_OPTIONS,
};