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
Begin adding guides to docs
Tuan Dang689a20dca247
diff --git a/docs/getting-started/quickstarts/cli.mdx b/docs/documentation/getting-started/cli.mdxsimilarity index 100%rename from docs/getting-started/quickstarts/cli.mdxrename to docs/documentation/getting-started/cli.mdxdiff --git a/docs/getting-started/quickstarts/docker.mdx b/docs/documentation/getting-started/docker.mdxsimilarity index 100%rename from docs/getting-started/quickstarts/docker.mdxrename to docs/documentation/getting-started/docker.mdxdiff --git a/docs/getting-started/introduction.mdx b/docs/documentation/getting-started/introduction.mdxsimilarity index 71%rename from docs/getting-started/introduction.mdxrename to docs/documentation/getting-started/introduction.mdxindex a8b3b7c27a..705ab3698d 100644--- a/docs/getting-started/introduction.mdx+++ b/docs/documentation/getting-started/introduction.mdx@@ -46,23 +46,30 @@ Start syncing environment variables with [Infisical Cloud](https://app.infisical## Resources-<Card- href="/self-hosting/overview"- title="Self-hosting"- icon="server"- color="#0285c7"->- Learn how to configure and deploy Infisical.-</Card>-<CardGroup cols={2}>+ <Card+ href="/self-hosting/overview"+ title="Self-hosting"+ icon="server"+ color="#0285c7"+ >+ Learn how to configure and deploy Infisical+ </Card>+ <Card+ href="/documentation/guides/introduction"+ title="Guide"+ icon="book-open"+ color="#dc2626"+ >+ Explore guides for every language and stack+ </Card><Cardhref="/integrations/overview"title="Native Integrations"icon="clouds"color="#dc2626">- Explore integrations for GitHub, Vercel, Netlify, and more.+ Explore integrations for GitHub, Vercel, Netlify, and more</Card><Cardhref="/integrations/overview"@@ -70,6 +77,14 @@ Start syncing environment variables with [Infisical Cloud](https://app.infisicalicon="plug"color="#dc2626">- Explore integrations for Next.js, Express, Django, and more.+ Explore integrations for Next.js, Express, Django, and more+ </Card>+ <Card+ href="https://calendly.com/team-infisical/infisical-demo"+ title="Contact Us"+ icon="user-headset"+ color="#0285c7"+ >+ Questions? Need help setting up? Book a 1x1 meeting with us</Card></CardGroup>diff --git a/docs/getting-started/quickstarts/kubernetes.mdx b/docs/documentation/getting-started/kubernetes.mdxsimilarity index 100%rename from docs/getting-started/quickstarts/kubernetes.mdxrename to docs/documentation/getting-started/kubernetes.mdxdiff --git a/docs/getting-started/quickstarts/platform.mdx b/docs/documentation/getting-started/platform.mdxsimilarity index 100%rename from docs/getting-started/quickstarts/platform.mdxrename to docs/documentation/getting-started/platform.mdxdiff --git a/docs/getting-started/quickstarts/sdks.mdx b/docs/documentation/getting-started/sdks.mdxsimilarity index 96%rename from docs/getting-started/quickstarts/sdks.mdxrename to docs/documentation/getting-started/sdks.mdxindex f7dbae6ab1..1d3add56e5 100644--- a/docs/getting-started/quickstarts/sdks.mdx+++ b/docs/documentation/getting-started/sdks.mdx@@ -9,11 +9,12 @@ Prerequisites:- Have a project with secrets ready in [Infisical Cloud](https://app.infisical.com).- Create an [Infisical Token](/getting-started/dashboard/token) scoped to an environment in your project in Infisical.+## Installation++Follow the instructions for your language to install the SDK for it.+<Tabs><Tab title="Node">--- ## InstallationRun `npm` to add [infisical-node](https://github.com/Infisical/infisical-node) to your project.@@ -134,7 +135,7 @@ Prerequisites:- [Rust](https://github.com/Infisical/infisical/issues/437)- [PHP](https://github.com/Infisical/infisical/issues/531)- Missing a language? Throw in a [request](https://github.com/Infisical/infisical/issues).+ Missing a language? [Throw in a request](https://github.com/Infisical/infisical/issues).</Tab></Tabs>diff --git a/docs/documentation/guides/introduction.mdx b/docs/documentation/guides/introduction.mdxnew file mode 100644index 0000000000..d2ffc2e30e--- /dev/null+++ b/docs/documentation/guides/introduction.mdx@@ -0,0 +1,41 @@+---+title: "Introduction"+---++Whether you're running a Node application on Heroku, Next.js application with Vercel, or Kubernetes on AWS, Infisical has a secret management strategy from local development to production for you.++## Guides by Language++<CardGroup cols={2}>+ <Card+ title="Node"+ href="/documentation/guides/node"+ icon="node"+ color="#3c8639"+ >+ Manage secrets across your Node stack+ </Card>+ <Card+ href="/documentation/guides/python"+ title="Python"+ icon="python"+ color="#3775a9"+ >+ Manage secrets across your Python stack+ </Card>+</CardGroup>++## Guides by Stack++<CardGroup cols={2}>+ <Card+ title="Next.js + Vercel"+ href="/getting-started/quickstarts/sdks"+ icon="cloud"+ color="#3c8639"+ >+ Manage secrets for your Next.js + Vercel stack+ </Card>+</CardGroup>++Want a guide? [Throw in a request](https://github.com/Infisical/infisical/issues).\ No newline at end of filediff --git a/docs/documentation/guides/nextjs-vercel.mdx b/docs/documentation/guides/nextjs-vercel.mdxnew file mode 100644index 0000000000..a9b6c90f3a--- /dev/null+++ b/docs/documentation/guides/nextjs-vercel.mdx@@ -0,0 +1,4 @@+---+title: "Next.js + Vercel"+description: "Manage secrets across your Next.js + Vercel stack"+---diff --git a/docs/documentation/guides/node.mdx b/docs/documentation/guides/node.mdxnew file mode 100644index 0000000000..e64a06054b--- /dev/null+++ b/docs/documentation/guides/node.mdx@@ -0,0 +1,19 @@+---+title: "Node"+---++This guide demonstrates how to manage secrets for your Node stack from local development to production. It uses:++- Infisical (you can use [Infisical Cloud](https://app.infisical.com) or a [self-hosted instance of Infisical](https://infisical.com/docs/self-hosting/overview)) to store your secrets.+- The [infisical-node](https://github.com/Infisical/infisical-node) client SDK to fetch secrets back to your Node application on demand.++## Video Guide++TODO: insert video++<Note>+ If you get stuck while working through this guide, refer to the [full example on GitHub]().+</Note>++## Project Setup+diff --git a/docs/documentation/guides/python.mdx b/docs/documentation/guides/python.mdxnew file mode 100644index 0000000000..d0cc77f1e2--- /dev/null+++ b/docs/documentation/guides/python.mdx@@ -0,0 +1,4 @@+---+title: "Python"+description: "Manage secrets across your Python stack"+---\ No newline at end of filediff --git a/docs/getting-started/dashboard/audit-logs.mdx b/docs/documentation/platform/audit-logs.mdxsimilarity index 100%rename from docs/getting-started/dashboard/audit-logs.mdxrename to docs/documentation/platform/audit-logs.mdxdiff --git a/docs/getting-started/dashboard/create-account.mdx b/docs/documentation/platform/create-account.mdxsimilarity index 100%rename from docs/getting-started/dashboard/create-account.mdxrename to docs/documentation/platform/create-account.mdxdiff --git a/docs/getting-started/dashboard/integrations.mdx b/docs/documentation/platform/integrations.mdxsimilarity index 100%rename from docs/getting-started/dashboard/integrations.mdxrename to docs/documentation/platform/integrations.mdxdiff --git a/docs/getting-started/dashboard/mfa.mdx b/docs/documentation/platform/mfa.mdxsimilarity index 100%rename from docs/getting-started/dashboard/mfa.mdxrename to docs/documentation/platform/mfa.mdxdiff --git a/docs/getting-started/dashboard/organization.mdx b/docs/documentation/platform/organization.mdxsimilarity index 100%rename from docs/getting-started/dashboard/organization.mdxrename to docs/documentation/platform/organization.mdxdiff --git a/docs/getting-started/dashboard/pit-recovery.mdx b/docs/documentation/platform/pit-recovery.mdxsimilarity index 100%rename from docs/getting-started/dashboard/pit-recovery.mdxrename to docs/documentation/platform/pit-recovery.mdxdiff --git a/docs/getting-started/dashboard/project.mdx b/docs/documentation/platform/project.mdxsimilarity index 100%rename from docs/getting-started/dashboard/project.mdxrename to docs/documentation/platform/project.mdxdiff --git a/docs/getting-started/dashboard/secret-versioning.mdx b/docs/documentation/platform/secret-versioning.mdxsimilarity index 100%rename from docs/getting-started/dashboard/secret-versioning.mdxrename to docs/documentation/platform/secret-versioning.mdxdiff --git a/docs/getting-started/dashboard/token.mdx b/docs/documentation/platform/token.mdxsimilarity index 100%rename from docs/getting-started/dashboard/token.mdxrename to docs/documentation/platform/token.mdxdiff --git a/docs/getting-started/features.mdx b/docs/getting-started/features.mdxdeleted file mode 100644index 9eb1d4faf5..0000000000--- a/docs/getting-started/features.mdx+++ /dev/null@@ -1,30 +0,0 @@-----title: "Features"-description: "A non-exhaustive list of features that Infisical has to offer."------## Platform--- Provision members access to organizations and projects.-- Manage secrets by adding, deleting, updating them across environments; search, sort, hide/un-hide, export/import them.-- Sync secrets to platforms via integrations to platforms like GitHub, Vercel, and Netlify.-- Rollback secrets to any point in time.-- Rollback each secrets to any version.-- Track actions through audit logs.--## CLI--The [CLI](/cli/overview) is used to inject environment variables into applications and infrastructure.--- Inject environment variables.-- Inject environment variables into containers via service tokens for Docker.--## SDKs--[SDKs](/sdks/overview) enable apps to fetch back secrets using an [Infisical Token](/getting-started/dashboard/token) scoped to a project and environment.--## Roadmap--We're building the future of secret management, one that's comprehensive and accessible to all. Check out our [roadmap](https://www.notion.so/infisical/be2d2585a6694e40889b03aef96ea36b?v=5b19a8127d1a4060b54769567a8785fa).--Interested in contributing? Check out the [guide](/contributing/overview).diff --git a/docs/getting-started/quickstart.mdx b/docs/getting-started/quickstart.mdxdeleted file mode 100644index bcc3642628..0000000000--- a/docs/getting-started/quickstart.mdx+++ /dev/null@@ -1,116 +0,0 @@-----title: "Quickstarts"-description: "Start managing developer secrets and configs with Infisical in minutes."------These examples demonstrate how to store and fetch environment variables from [Infisical Cloud](https://app.infisical.com) into your application.--## Set up Infisical Cloud--1. Login or create an account at `app.infisical.com`.-2. Create a new project.-3. Keep the default environment variables or populate them as in the image below.----## Fetch Secrets for Your App--<Tabs>- <Tab title="CLI">-- The Infisical CLI is platform-agnostic and enables you to inject environment variables into your app across many tech stacks and frameworks.-- ### Set up the CLI-- 1. Follow the instructions to [install our platform-agnostic CLI](/cli/overview).-- 2. Initialize Infisical for your project.-- ```bash- # move to your project- cd /path/to/project-- # initialize infisical- infisical init- ```-- ### Start your app with environment variables injected-- ```bash- # inject environment variables into app- infisical run -- [your application start command]- ```-- Your app should now be running with the environment variables injected.-- Check out our [integrations](/integrations/overview) for injecting environment variables into frameworks and platforms like Docker.-- </Tab>- <Tab title="SDK">- [Infisical SDKs](/sdks/overview) let your app fetch back secrets using an [Infisical Token](/getting-started/dashboard/token) that is scoped to a project and environment in Infisical. In this example, we demonstrate how to use the [Node SDK](/sdks/languages/node).-- Using Python? We have a [Python SDK](/sdks/languages/python) as well.-- ### Obtain an [Infisical Token](/getting-started/dashboard/token)-- Head to your project settings to create a token scoped to the project and environment you wish to fetch secrets from.-- -- ### Install the SDK-- ```bash- npm install infisical-node --save- ```-- ### Initialize the Infisical client-- ```js- import InfisicalClient from "infisical-node";-- const client = new InfisicalClient({- token: "your_infisical_token",- });- ```-- ### Get a value-- ```js- const value = await client.getSecret("SOME_KEY");- ```-- ### Example with Express-- ```js- import InfisicalClient from "infisical-node";- import express from "express";- const app = express();- const PORT = 3000;-- const client = InfisicalClient({- token: "st.xxx.xxx",- });-- // your application logic-- app.get("/", async (req, res) => {- const name = await client.getSecret("NAME");- res.send(`Hello! My name is: ${name.secretValue}`);- });-- app.listen(PORT, async () => {- console.log(`App listening on port ${port}`);- });- ```-- <Warning>- We do not recommend hardcoding your [Infisical- Token](/getting-started/dashboard/token). Setting it as an environment- variable would be best.-- </Warning>-- Check out our [SDKs](/sdks/overview) for other language SDKs.--</Tab>-</Tabs>diff --git a/docs/integrations/overview.mdx b/docs/integrations/overview.mdxindex dcbdf44b88..69b7e9a97e 100644--- a/docs/integrations/overview.mdx+++ b/docs/integrations/overview.mdx@@ -5,7 +5,7 @@ description: "How to use Infisical to inject secrets and configs into various 3-Integrations allow environment variables to be synced from Infisical into your local development workflow, CI/CD pipelines, and production infrastructure.-Missing an integration? Throw in a [request](https://github.com/Infisical/infisical/issues).+Missing an integration? [Throw in a request](https://github.com/Infisical/infisical/issues).| Integration | Type | Status || -------------------------------------------------------------- | --------- | ----------- |diff --git a/docs/mint.json b/docs/mint.jsonindex 05ee74159c..bdecac7663 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -82,12 +82,21 @@{"group": "Getting Started","pages": [- "getting-started/introduction",- "getting-started/quickstarts/platform",- "getting-started/quickstarts/sdks",- "getting-started/quickstarts/cli",- "getting-started/quickstarts/docker",- "getting-started/quickstarts/kubernetes"+ "documentation/getting-started/introduction",+ "documentation/getting-started/platform",+ "documentation/getting-started/sdks",+ "documentation/getting-started/cli",+ "documentation/getting-started/docker",+ "documentation/getting-started/kubernetes"+ ]+ },+ {+ "group": "Guides",+ "pages": [+ "documentation/guides/introduction",+ "documentation/guides/node",+ "documentation/guides/python",+ "documentation/guides/nextjs-vercel"]}]@@ -95,13 +104,13 @@{"group": "Platform","pages": [- "getting-started/dashboard/organization",- "getting-started/dashboard/project",- "getting-started/dashboard/pit-recovery",- "getting-started/dashboard/secret-versioning",- "getting-started/dashboard/audit-logs",- "getting-started/dashboard/mfa",- "getting-started/dashboard/token"+ "documentation/platform/organization",+ "documentation/platform/project",+ "documentation/platform/pit-recovery",+ "documentation/platform/secret-versioning",+ "documentation/platform/audit-logs",+ "documentation/platform/mfa",+ "documentation/platform/token"]},{diff --git a/docs/sdks/overview.mdx b/docs/sdks/overview.mdxindex 8c38498b50..16314cd935 100644--- a/docs/sdks/overview.mdx+++ b/docs/sdks/overview.mdx@@ -3,14 +3,63 @@ title: "Overview"description: "How to use Infisical SDKs to fetch back secrets for your app"----Whether it be for local development or production, Infisical SDKs provide the easiest way for your app to fetch back secrets using an [Infisical Token](/getting-started/dashboard/token).+Whether it be for local development or production, Infisical SDKs provide the easiest way for your app to fetch back secrets from Infisical on demand.-We currently have the [Node SDK](https://github.com/Infisical/infisical-node) and [Python SDK](https://github.com/Infisical/infisical-python) available with more language SDKs coming out soon:--- [Node](https://github.com/Infisical/infisical-node)-- [Python](https://github.com/Infisical/infisical-python)-- [Java](/sdks/languages/java)-- [Ruby](/sdks/languages/ruby)-- [Go](/sdks/languages/go)-- [Rust](/sdks/languages/rust)-- [PHP](/sdks/languages/php)+<CardGroup cols={2}>+ <Card+ title="Node"+ href="https://github.com/Infisical/infisical-node"+ icon="node"+ color="#68a063"+ >+ Manage secrets for your Node application on demand+ </Card>+ <Card+ href="https://github.com/Infisical/infisical-python"+ title="Python"+ icon="python"+ color="#4c8abe"+ >+ Manage secrets for your Python application on demand+ </Card>+ <Card+ href="/sdks/languages/java"+ title="Java"+ icon="java"+ color="#e41f23"+>+ Manage secrets for your Java application on demand+ </Card>+ <Card+ href="/sdks/languages/ruby"+ title="Ruby"+ icon="gem"+ color="#ac0d01"+ >+ Manage secrets for your Ruby application on demand+ </Card>+ <Card+ href="/sdks/languages/go"+ title="Golang"+ icon="golang"+ color="#00add8"+ >+ Manage secrets for your Go application on demand+ </Card>+ <Card+ href="/sdks/languages/rust"+ title="Rust"+ icon="rust"+ color="#cd412b"+ >+ Manage secrets for your Rust application on demand+ </Card>+ <Card+ href="/sdks/languages/php"+ title="PHP"+ icon="php"+ color="#787cb4"+ >+ Manage secrets for your PHP application on demand+ </Card>+</CardGroup>\ No newline at end of file