Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs(security): remove e2e references (#7974)
Adrian Kahali61e5dbe4584d
diff --git a/docs/api-reference/endpoints/deprecated/projects/project-key.mdx b/docs/api-reference/endpoints/deprecated/projects/project-key.mdxdeleted file mode 100644index 7a180c443e..0000000000--- a/docs/api-reference/endpoints/deprecated/projects/project-key.mdx+++ /dev/null@@ -1,9 +0,0 @@-----title: "Get key"-openapi: "GET /api/v2/workspace/{workspaceId}/encrypted-key"-----<Warning>- This endpoint will be deprecated in the near future in Q1/Q2 2024.-- We recommend using Infisical in non-E2EE mode going forward.-</Warning>\ No newline at end of filediff --git a/docs/api-reference/overview/authentication.mdx b/docs/api-reference/overview/authentication.mdxindex a56c1b4e18..ef54fb933e 100644--- a/docs/api-reference/overview/authentication.mdx+++ b/docs/api-reference/overview/authentication.mdx@@ -23,7 +23,6 @@ To interact with the Infisical API, you'll need to obtain an access token. Follo- The client secret or access token has expired.- The identity is insufficiently permissioned to interact with the resources you wish to access.- - You're attempting to access a `/raw` secrets endpoint that requires your project to disable E2EE.- The client secret/access token is being used from an untrusted IP.</Accordion></AccordionGroup>diff --git a/docs/documentation/guides/nextjs-vercel.mdx b/docs/documentation/guides/nextjs-vercel.mdxindex 676a209d15..f02671950a 100644--- a/docs/documentation/guides/nextjs-vercel.mdx+++ b/docs/documentation/guides/nextjs-vercel.mdx@@ -210,11 +210,6 @@ At this stage, you know how to use the Infisical-Vercel integration to sync prodAnd much more.</Accordion>- <Accordion title="Is opting out of end-to-end encryption for the Infisical-Vercel integration safe?">- Yes. Your secrets are still encrypted at rest. To note, most secret managers actually don't support end-to-end encryption.-- Check out the [security guide](/internals/security).- </Accordion></AccordionGroup>See also:diff --git a/docs/documentation/platform/project-upgrade.mdx b/docs/documentation/platform/project-upgrade.mdxdeleted file mode 100644index 3b32fdc6cc..0000000000--- a/docs/documentation/platform/project-upgrade.mdx+++ /dev/null@@ -1,21 +0,0 @@-----title: "Enhancing security and usability: Project upgrades"-description: "Why Infisical introduced non-E2EE projects and what upgrading one changes."------At Infisical, we're constantly striving to elevate the security and usability standards of our platform to better serve our users.-With this commitment in mind, we're excited to introduce our latest addition, non-E2EE projects, aimed at addressing two significant issues while enhancing how clients interact with Infisical programmatically.--Previously, users encountered a challenge where projects risked becoming inaccessible if the project creator deleted their account.-Additionally, our API lacked the capability to interact with projects without dealing with complex cryptographic operations.-These obstacles made API driven automation and collaboration a painful experience for a majority of our users.--To overcome these limitations, our upgrade focuses on disabling end-to-end encryption (E2EE) for projects.-While this may raise eyebrows, it's important to understand that this decision is a strategic move to make Infisical easier to use and interact with.--But what does this mean for our users? Essentially nothing, there are no changes required on your end.-Rest assured, all sensitive data remains encrypted at rest according to the latest industry standards.-Our commitment to security remains unwavering, and this upgrade is a testament to our dedication to delivering on our promises in both security and usability when it comes to secrets management.--To increase consistency with existing and future integrations, all projects created on Infisical from now on will have end-to-end encryption (E2EE) disabled by default.-This won't only reduce confusion for end users, but will also make the Infisical API seamless to use.diff --git a/docs/documentation/platform/scim/azure.mdx b/docs/documentation/platform/scim/azure.mdxindex c96d86f2ff..5f3a7fb350 100644--- a/docs/documentation/platform/scim/azure.mdx+++ b/docs/documentation/platform/scim/azure.mdx@@ -69,13 +69,3 @@ Prerequisites:Now Azure can provision/deprovision users to/from your organization in Infisical.</Step></Steps>--**FAQ**--<AccordionGroup>-<Accordion title="Why do SCIM-provisioned users have to finish setting up their account?">- Infisical's SCIM implementation accounts for retaining the end-to-end encrypted architecture of Infisical because we decouple the **authentication** and **decryption** steps in the platform.-- For this reason, SCIM-provisioned users are initialized but must finish setting up their account when logging in the first time by creating a master encryption/decryption key. With this implementation, IdPs and SCIM providers cannot and will not have access to the decryption key needed to decrypt your secrets.-</Accordion>-</AccordionGroup>diff --git a/docs/documentation/platform/scim/jumpcloud.mdx b/docs/documentation/platform/scim/jumpcloud.mdxindex 21ea336cda..f1fc898d7f 100644--- a/docs/documentation/platform/scim/jumpcloud.mdx+++ b/docs/documentation/platform/scim/jumpcloud.mdx@@ -51,14 +51,4 @@ Prerequisites:Now JumpCloud can provision/deprovision users and user groups to/from your organization in Infisical.</Step>-</Steps>--**FAQ**--<AccordionGroup>-<Accordion title="Why do SCIM-provisioned users have to finish setting up their account?">- Infisical's SCIM implementation accounts for retaining the end-to-end encrypted architecture of Infisical because we decouple the **authentication** and **decryption** steps in the platform.-- For this reason, SCIM-provisioned users are initialized but must finish setting up their account when logging in the first time by creating a master encryption/decryption key. With this implementation, IdPs and SCIM providers cannot and will not have access to the decryption key needed to decrypt your secrets.-</Accordion>-</AccordionGroup>\ No newline at end of file+</Steps>\ No newline at end of filediff --git a/docs/documentation/platform/scim/okta.mdx b/docs/documentation/platform/scim/okta.mdxindex 64fe7fc5e1..76634b722b 100644--- a/docs/documentation/platform/scim/okta.mdx+++ b/docs/documentation/platform/scim/okta.mdx@@ -57,14 +57,4 @@ Prerequisites:Now Okta can provision/deprovision users and user groups to/from your organization in Infisical.</Step>-</Steps>--**FAQ**--<AccordionGroup>-<Accordion title="Why do SCIM-provisioned users have to finish setting up their account?">- Infisical's SCIM implementation accounts for retaining the end-to-end encrypted architecture of Infisical because we decouple the **authentication** and **decryption** steps in the platform.-- For this reason, SCIM-provisioned users are initialized but must finish setting up their account when logging in the first time by creating a master encryption/decryption key. With this implementation, IdPs and SCIM providers cannot and will not have access to the decryption key needed to decrypt your secrets.-</Accordion>-</AccordionGroup>\ No newline at end of file+</Steps>\ No newline at end of filediff --git a/docs/documentation/platform/scim/pingone.mdx b/docs/documentation/platform/scim/pingone.mdxindex b7263290db..ddaba80758 100644--- a/docs/documentation/platform/scim/pingone.mdx+++ b/docs/documentation/platform/scim/pingone.mdx@@ -137,13 +137,3 @@ Prerequisites:</Step></Steps>--**FAQ**--<AccordionGroup>-<Accordion title="Why do SCIM-provisioned users have to finish setting up their account?">- Infisical's SCIM implementation accounts for retaining the end-to-end encrypted architecture of Infisical because we decouple the **authentication** and **decryption** steps in the platform.-- For this reason, SCIM-provisioned users are initialized but must finish setting up their account when logging in the first time by creating a master encryption/decryption key. With this implementation, IdPs and SCIM providers cannot and will not have access to the decryption key needed to decrypt your secrets.-</Accordion>-</AccordionGroup>diff --git a/docs/documentation/platform/token.mdx b/docs/documentation/platform/token.mdxindex 1a1f770919..1b78cb76e9 100644--- a/docs/documentation/platform/token.mdx+++ b/docs/documentation/platform/token.mdx@@ -16,9 +16,7 @@ Service Token (ST) is the current widely-used authentication method for managingHere's a few pointers to get you acquainted with it:-- When you create a ST, you get a token prefixed with `st`. The part after the last `.` delimiter is a symmetric key; everything- before it's an access token. When authenticating with the Infisical API, it's important to send in only the access token portion- of the token.+- Each service token is of the form `st.<id>.<secret>`. Send it in the `Authorization` header as `Bearer st.<id>.<secret>` when calling the Infisical API.- ST supports expiration; it gets deleted automatically upon expiration.- ST supports provisioning `read` and/or `write` permissions broadly applied to all accessible environment(s) and path(s).- ST isn't editable.@@ -56,7 +54,6 @@ of the `/common` path within the development environment of the project; the tok- The service token has expired.- The service token is insufficiently permissioned to interact with the secrets in the given environment and path.- - You are attempting to access a `/raw` secrets endpoint that requires your project to disable E2EE.- (If using ST V3) The service token has not been activated yet.- (If using ST V3) The service token is being used from an untrusted IP.diff --git a/docs/internals/security.mdx b/docs/internals/security.mdxindex 9459a7ba0f..a411ae2108 100644--- a/docs/internals/security.mdx+++ b/docs/internals/security.mdx@@ -283,6 +283,4 @@ Whether or not Infisical or your employees can access data in the Infisical inst- Infisical Self-Hosted: Self-hosting Infisical is common amongst organizations that prefer to keep data on their own infrastructure usually to adhere to strict regulatory and compliance requirements. In this option, organizations retain full control over their data and therefore govern the data access policy of their Infisical instance and storage backend.- Infisical Cloud: Using Infisical's managed service, [Infisical Cloud](https://app.infisical.com) means delegating data oversight and management to Infisical. Under our policy controls, employees are only granted access to parts of infrastructure according to principle of least privilege; this is especially relevant to customer data can only be accessed currently by executive management of Infisical. Moreover, any changes to sensitive customer data is prohibited without explicit customer approval.-It should be noted that, even on Infisical Cloud, it's physically impossible for employees of Infisical to view the values of secrets if users haven't explicitly granted Infisical access to their project (i.e. opted out of zero-knowledge).-Please email [email protected] if you have any specific inquiries about employee data and security policies.diff --git a/docs/internals/service-tokens.mdx b/docs/internals/service-tokens.mdxindex 950c12fe71..248eb16595 100644--- a/docs/internals/service-tokens.mdx+++ b/docs/internals/service-tokens.mdx@@ -19,15 +19,10 @@ The storage backend model for a token contains the following information:- Expiration: The date at which point the token is invalid.- Project: The project that the token is part of.- Scopes: The project environments and paths that the token has access to.-- Encrypted project key: An encrypted copy of the project key.### Token-A service token itself consist of two parts used for authentication and decryption, separated by the delimiter `.`.--Consider the token `st.abc.def.ghi`. Here, `st.abc.def` can be used to authenticate with the API, by including it in the `Authorization` header under `Bearer st.abc.def`, and retrieve (encrypted) secrets as well as a project key back. Meanwhile, `ghi`, a hex-string, can be used to decrypt the project key used to decrypt the secrets.--Note that when using service tokens via select client methods like SDK or CLI, cryptographic operations are abstracted for you that is the token is parsed and encryption/decryption operations are handled. If using service tokens with the REST API and end-to-end encryption enabled, then you'll have to handle the encryption/decryption operations yourself.+A service token is a bearer credential of the form `st.<id>.<secret>`. Send it in the `Authorization` header as `Bearer st.<id>.<secret>` to authenticate with the API and read or write secrets within the token's scopes.## Recommendations@@ -46,6 +41,4 @@ Since service tokens grant access to your secrets, we recommend storing them sec### Rotation-We recommend periodically rotating the service token, even in the absence of compromise. Since service tokens are capable of decrypting project keys used to decrypt secrets, all of which use AES-256-GCM encryption, they should be rotated before approximately 2^32 encryptions have been performed; this follows the guidance set forth by [NIST publication 800-38D](https://csrc.nist.gov/pubs/sp/800/38/d/final).--Note that Infisical keeps track of the number of times that service tokens are used and will alert you when you have reached 90% of the recommended capacity.+We recommend periodically rotating the service token, even in the absence of compromise. Regular rotation limits the window in which a leaked token remains valid.diff --git a/docs/syncingManually.mdx b/docs/syncingManually.mdxdeleted file mode 100644index b6f09e2207..0000000000--- a/docs/syncingManually.mdx+++ /dev/null@@ -1,43 +0,0 @@-----title: "Syncing manually"-description: "Infisical is a simple, end-to-end encrypted (E2EE) solution that enables teams to sync and manage their .env files in seconds."------<iframe- class="w-full"- width="560"- height="315"- src="https://www.youtube.com/embed/DVa63Q8D2BI"- title="YouTube video player"- frameborder="0"- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"- allowfullscreen-></iframe>--## Background--The second approach that dev teams use to pull environment variables from Infisical into their local projects is to do so **manually**. This method is preferred if you wish to keep using a local .env file; the drawback here, however, is that you'll have to pull from Infisical every time you wish to sync environment variables.--## Steps--If you haven't already, be sure to perform the prerequisite steps listed in our Getting Started guide. It walks through how to set up an account, make a project, invite your team, and add your environment variables.--Once you've done that, return here to connect the Infisical project to your local development environment.--### Step 1: Pull your .env file from Infisical--Navigate to your root project folder containing your .env file. Now run the command below. If it's your first time, then follow the prompt to log in and connect the Infisical project to your local development environment:--```bash-npx infisical pull dev-```--Note: You can specify which environment you wish to pull your variables from; options include dev, staging, and prod.--Voila, you've just pulled your environment variables into your .env file. Don't believe it? Feel free to clear your .env file and run the command again to bring them back!--We've abstracted away the complex cryptography and enabled your team to securely sync secrets — if you're curious about how it all works, check out our security brief. Now you can get your team to start using the project as well.--We're constantly improving Infisical, so we'd love to get your feedback and take feature requests.--Lastly, if you have any questions or inquiries, shoot an email over to [[email protected]](mailto:[email protected]) so we can assist you. Alternatively, feel free to post your question or DM us on Slack here; we'd be happy to connect with you.