forked from Infisical/infisical
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
39 changed files
with
328 additions
and
30 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
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
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 |
---|---|---|
|
@@ -4,6 +4,13 @@ sidebarTitle: "Overview" | |
description: "Learn how to generate secrets dynamically on-demand." | ||
--- | ||
|
||
<Info> | ||
Note that Dynamic Secrets 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> | ||
|
||
## Introduction | ||
|
||
Contrary to static key-value secrets, which require manual input of data into the secure Infisical storage, **dynamic secrets are generated on-demand upon access**. | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,13 @@ title: "Approval Workflows" | |
description: "Learn how to enable a set of policies to manage changes to sensitive secrets and environments." | ||
--- | ||
|
||
<Info> | ||
Approval Workflows is a paid feature. | ||
|
||
If you're using Infisical Cloud, then it is available under the **Pro Tier** and **Enterprise Tire**. | ||
If you're self-hosting Infisical, then you should contact [email protected] to purchase an enterprise license to use it. | ||
</Info> | ||
|
||
## Problem at hand | ||
|
||
Updating secrets in high-stakes environments (e.g., production) can have a number of problematic issues: | ||
|
@@ -40,4 +47,4 @@ When a user submits a change to an enviropnment that is under a particular polic | |
|
||
Approvers are notified by email and/or Slack as soon as the request is initiated. In the Infisical Dashboard, they will be able to `approve` and `merge` (or `deny`) a request for a change in a particular environment. After that, depending on the workflows setup, the change will be automatically propagated to the right applications (e.g., using [Infisical Kubernetes Operator](https://infisical.com/docs/integrations/platforms/kubernetes)). | ||
|
||
![secrets update pull request](../../images/platform/pr-workflows/secret-update-pr.png) | ||
![secrets update pull request](../../images/platform/pr-workflows/secret-update-pr.png) |
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
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,93 @@ | ||
--- | ||
title: "Auth0 SAML" | ||
description: "Learn how to configure Auth0 SAML for Infisical SSO." | ||
--- | ||
|
||
<Info> | ||
Auth0 SAML SSO feature is a paid feature. If you're using Infisical Cloud, | ||
then it is available under the **Pro Tier**. If you're self-hosting Infisical, | ||
then you should contact [email protected] to purchase an enterprise license | ||
to use it. | ||
</Info> | ||
|
||
<Steps> | ||
<Step title="Prepare the SAML SSO configuration in Infisical"> | ||
In Infisical, head to Organization Settings > Security and click **Connect** for SAML under the Connect to an Identity Provider section. Select Auth0, then click **Connect** again. | ||
|
||
Next, note the **Application Callback URL** and **Audience** to use when configuring the Auth0 SAML application. | ||
|
||
![Auth0 SAML initial configuration](../../../images/sso/auth0-saml/init-config.png) | ||
|
||
</Step> | ||
<Step title="Create a SAML application in Auth0"> | ||
2.1. In your Auth0 account, head to Applications and create an application. | ||
|
||
![Auth0 SAML app creation](../../../images/sso/auth0-saml/create-application.png) | ||
|
||
Select **Regular Web Application** and press **Create**. | ||
|
||
![Auth0 SAML app creation](../../../images/sso/auth0-saml/create-application-2.png) | ||
|
||
2.2. In the Application head to Settings > Application URIs and add the **Application Callback URL** from step 1 into the **Allowed Callback URLs** field. | ||
|
||
![Auth0 SAML allowed callback URLs](../../../images/sso/auth0-saml/auth0-config.png) | ||
|
||
2.3. In the Application head to Addons > SAML2 Web App and copy the **Issuer**, **Identity Provider Login URL**, and **Identity Provider Certificate** from the **Usage** tab. | ||
|
||
![Auth0 SAML config](../../../images/sso/auth0-saml/auth0-config-2.png) | ||
|
||
2.4. Back in Infisical, set **Issuer**, **Identity Provider Login URL**, and **Certificate** to the corresponding items from step 2.3. | ||
|
||
![Auth0 SAML Infisical config](../../../images/sso/auth0-saml/infisical-config.png) | ||
|
||
2.5. Back in Auth0, in the **Settings** tab, set the **Application Callback URL** to the **Application Callback URL** from step 1 | ||
and update the **Settings** field with the JSON under the picture below (replacing `<audience-from-infisical>` with the **Audience** from step 1). | ||
|
||
![Auth0 SAML config](../../../images/sso/auth0-saml/auth0-config-3.png) | ||
|
||
```json | ||
{ | ||
"audience": "<audience-from-infisical>", | ||
"mappings": { | ||
"email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/email", | ||
"given_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/firstName", | ||
"family_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/lastName" | ||
}, | ||
"signatureAlgorithm": "rsa-sha256", | ||
"digestAlgorithm": "sha256", | ||
"signResponse": true | ||
} | ||
``` | ||
|
||
Click **Save**. | ||
</Step> | ||
<Step title="Enable SAML SSO in Infisical"> | ||
Enabling SAML SSO allows members in your organization to log into Infisical via Auth0. | ||
|
||
![Auth0 SAML enable](../../../images/sso/auth0-saml/enable-saml.png) | ||
</Step> | ||
<Step title="Enforce SAML SSO in Infisical"> | ||
Enforcing SAML SSO ensures that members in your organization can only access Infisical | ||
by logging into the organization via Auth0. | ||
|
||
To enforce SAML SSO, you're required to test out the SAML connection by successfully authenticating at least one Auth0 user with Infisical; | ||
Once you've completed this requirement, you can toggle the **Enforce SAML SSO** button to enforce SAML SSO. | ||
</Step> | ||
|
||
</Steps> | ||
|
||
<Tip> | ||
If you are only using one organization on your Infisical instance, you can configure a default organization in the [Server Admin Console](../admin-panel/server-admin#default-organization) to expedite SAML login. | ||
</Tip> | ||
|
||
<Note> | ||
If you're configuring SAML SSO on a self-hosted instance of Infisical, make | ||
sure to set the `AUTH_SECRET` and `SITE_URL` environment variable for it to | ||
work: | ||
<div class="height:1px;"/> | ||
- `AUTH_SECRET`: A secret key used for signing and verifying JWT. This | ||
can be a random 32-byte base64 string generated with `openssl rand -base64 | ||
32`. | ||
<div class="height:1px;"/> | ||
- `SITE_URL`: The absolute URL of your self-hosted instance of Infisical including the protocol (e.g. https://app.infisical.com) | ||
</Note> |
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
Oops, something went wrong.