mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 14:27:30 +00:00
feat: add more admin environment overrides (#3995)
* feat: add more env overrides * Reorder alphabetically --------- Co-authored-by: sidwebworks <[email protected]> Co-authored-by: x032205 <[email protected]>
This commit is contained in:
co-authored by
sidwebworks
x032205
parent
6531e5b942
commit
d3d1fb7190
@@ -373,6 +373,19 @@ export const overwriteSchema: {
|
|||||||
fields: { key: keyof TEnvConfig; description?: string }[];
|
fields: { key: keyof TEnvConfig; description?: string }[];
|
||||||
};
|
};
|
||||||
} = {
|
} = {
|
||||||
|
aws: {
|
||||||
|
name: "AWS",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_AWS_ACCESS_KEY_ID",
|
||||||
|
description: "The Access Key ID of your AWS account."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_AWS_SECRET_ACCESS_KEY",
|
||||||
|
description: "The Client Secret of your AWS application."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
azure: {
|
azure: {
|
||||||
name: "Azure",
|
name: "Azure",
|
||||||
fields: [
|
fields: [
|
||||||
@@ -386,16 +399,79 @@ export const overwriteSchema: {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
google_sso: {
|
gcp: {
|
||||||
name: "Google SSO",
|
name: "GCP",
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
key: "CLIENT_ID_GOOGLE_LOGIN",
|
key: "INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL",
|
||||||
description: "The Client ID of your GCP OAuth2 application."
|
description: "The GCP Service Account JSON credentials."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
github_app: {
|
||||||
|
name: "GitHub App",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_APP_CLIENT_ID",
|
||||||
|
description: "The Client ID of your GitHub application."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "CLIENT_SECRET_GOOGLE_LOGIN",
|
key: "INF_APP_CONNECTION_GITHUB_APP_CLIENT_SECRET",
|
||||||
description: "The Client Secret of your GCP OAuth2 application."
|
description: "The Client Secret of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_APP_SLUG",
|
||||||
|
description: "The Slug of your GitHub application. This is the one found in the URL."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_APP_ID",
|
||||||
|
description: "The App ID of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY",
|
||||||
|
description: "The Private Key of your GitHub application."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
github_oauth: {
|
||||||
|
name: "GitHub OAuth",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_ID",
|
||||||
|
description: "The Client ID of your GitHub OAuth application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_SECRET",
|
||||||
|
description: "The Client Secret of your GitHub OAuth application."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
github_radar_app: {
|
||||||
|
name: "GitHub Radar App",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_ID",
|
||||||
|
description: "The Client ID of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_SECRET",
|
||||||
|
description: "The Client Secret of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_SLUG",
|
||||||
|
description: "The Slug of your GitHub application. This is the one found in the URL."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_ID",
|
||||||
|
description: "The App ID of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_PRIVATE_KEY",
|
||||||
|
description: "The Private Key of your GitHub application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITHUB_RADAR_APP_WEBHOOK_SECRET",
|
||||||
|
description: "The Webhook Secret of your GitHub application."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -412,6 +488,19 @@ export const overwriteSchema: {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
gitlab_oauth: {
|
||||||
|
name: "GitLab OAuth",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID",
|
||||||
|
description: "The Client ID of your GitLab OAuth application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET",
|
||||||
|
description: "The Client Secret of your GitLab OAuth application."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
gitlab_sso: {
|
gitlab_sso: {
|
||||||
name: "GitLab SSO",
|
name: "GitLab SSO",
|
||||||
fields: [
|
fields: [
|
||||||
@@ -429,6 +518,19 @@ export const overwriteSchema: {
|
|||||||
"The URL of your self-hosted instance of GitLab where the OAuth application is registered. If no URL is passed in, this will default to https://gitlab.com."
|
"The URL of your self-hosted instance of GitLab where the OAuth application is registered. If no URL is passed in, this will default to https://gitlab.com."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
google_sso: {
|
||||||
|
name: "Google SSO",
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
key: "CLIENT_ID_GOOGLE_LOGIN",
|
||||||
|
description: "The Client ID of your GCP OAuth2 application."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "CLIENT_SECRET_GOOGLE_LOGIN",
|
||||||
|
description: "The Client Secret of your GCP OAuth2 application."
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user