Finish preliminary LDAP

This commit is contained in:
Tuan Dang
2024-02-26 17:42:32 -08:00
parent 91068229bf
commit a28431bfe7
7 changed files with 54 additions and 10 deletions
@@ -17,8 +17,9 @@ export const getDefaultOnPremFeatures = () => {
customAlerts: false, customAlerts: false,
auditLogs: false, auditLogs: false,
auditLogsRetentionDays: 0, auditLogsRetentionDays: 0,
samlSSO: true, samlSSO: false,
scim: true, scim: false,
ldap: false,
status: null, status: null,
trial_end: null, trial_end: null,
has_used_trial: true, has_used_trial: true,
@@ -23,9 +23,9 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
customAlerts: false, customAlerts: false,
auditLogs: false, auditLogs: false,
auditLogsRetentionDays: 0, auditLogsRetentionDays: 0,
samlSSO: true, samlSSO: false,
scim: true, scim: false,
ldap: true, ldap: false,
status: null, status: null,
trial_end: null, trial_end: null,
has_used_trial: true, has_used_trial: true,
@@ -24,9 +24,9 @@ export type TFeatureSet = {
customAlerts: false; customAlerts: false;
auditLogs: false; auditLogs: false;
auditLogsRetentionDays: 0; auditLogsRetentionDays: 0;
samlSSO: true; samlSSO: false;
scim: true; scim: false;
ldap: true; ldap: false;
status: null; status: null;
trial_end: null; trial_end: null;
has_used_trial: true; has_used_trial: true;
@@ -0,0 +1,36 @@
---
title: "General LDAP"
description: "Log in to Infisical with LDAP"
---
<Info>
LDAP is a paid feature.
If you're using Infisical Cloud, then it is available under the **Enterprise Tier**. If you're self-hosting Infisical,
then you should contact [email protected] to purchase an enterprise license to use it.
</Info>
You can configure your organization in Infisical to have members authenticate with the platform via [LDAP](https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol)
<Steps>
<Step title="Prepare the LDAP configuration in Infisical">
In Infisical, head to your Organization Settings > Authentication > LDAP Configuration and select **Set up LDAP**.
Next, input your LDAP server settings.
![LDAP configuration](/images/platform/ldap/ldap-config.png)
Here's some guidance for each field:
- URL: The LDAP server to connect to such as `ldap://ldap.your-org.com`, `ldaps://ldap.myorg.com:636` (for connection over SSL/TLS), etc.
- Bind DN: The distinguished name of object to bind when performing the user search such as `cn=infisical,ou=Users,dc=acme,dc=com`.
- Bind Pass: The password to use along with `Bind DN` when performing the user search.
- Search Base / User DN: Base DN under which to perform user search such as `ou=Users,dc=example,dc=com`
- CA Certificate: The CA certificate to use when verifying the LDAP server certificate.
</Step>
<Step title="Enable LDAP in Infisical">
Enabling LDAP allows members in your organization to log into Infisical via LDAP.
![LDAP toggle](/images/platform/ldap/ldap-toggle.png)
</Step>
</Steps>
@@ -15,4 +15,9 @@ To note, configuring LDAP retains the end-to-end encrypted architecture of Infis
LDAP providers: LDAP providers:
- [JumpCloud LDAP](/documentation/platform/ldap/jumpcloud) - Active Directory
- [JumpCloud LDAP](/documentation/platform/ldap/jumpcloud)
- AWS Directory Service
- Foxpass
Check out the general instructions for configuring LDAP [here](/documentation/platform/ldap/general).
+2 -1
View File
@@ -153,7 +153,8 @@
"group": "LDAP", "group": "LDAP",
"pages": [ "pages": [
"documentation/platform/ldap/overview", "documentation/platform/ldap/overview",
"documentation/platform/ldap/jumpcloud" "documentation/platform/ldap/jumpcloud",
"documentation/platform/ldap/general"
] ]
}, },
{ {
@@ -19,6 +19,7 @@ export type SubscriptionPlan = {
environmentLimit: number; environmentLimit: number;
samlSSO: boolean; samlSSO: boolean;
scim: boolean; scim: boolean;
ldap: boolean;
status: status:
| "incomplete" | "incomplete"
| "incomplete_expired" | "incomplete_expired"