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
address review comments
Adrian Kahalifc7949fd9201
diff --git a/docs/documentation/platform/secrets-mgmt/quick-starts/deliver-first-secret.mdx b/docs/documentation/platform/secrets-mgmt/quick-starts/deliver-first-secret.mdxindex 5d2bbbd72d..f61c271592 100644--- a/docs/documentation/platform/secrets-mgmt/quick-starts/deliver-first-secret.mdx+++ b/docs/documentation/platform/secrets-mgmt/quick-starts/deliver-first-secret.mdx@@ -1,9 +1,10 @@----title: "Deliver your first secret"-description: "Store a secret in Infisical and inject it into an application in under 10 minutes."+title: "Inject a secret into a local application"+sidebarTitle: "Inject a secret locally"+description: "Store a secret in Infisical and deliver it to a local application without a `.env` file."----This quickstart guide walks you through the core secrets management workflow. You'll create a [project](/documentation/platform/secrets-mgmt/project), add a secret to one of its environments, and inject the secret into an application using the [Infisical CLI](/cli/overview), all without needing a `.env` file.+This quickstart guide walks you through the recommended secrets management workflow for local applications. You'll create a [project](/documentation/platform/secrets-mgmt/project), add a secret to one of its environments, and inject the secret into your local application using the [Infisical CLI](/cli/overview), all without needing a `.env` file.<Info>Prerequisites:@@ -13,7 +14,9 @@ Prerequisites:- An application or script you run locally</Info>-## Step 1: Create a project+## Step 1: Configure in Infisical++### Create a projectIn Infisical, a [project](/documentation/platform/secrets-mgmt/project) holds all secrets for one application or service. To create a project:@@ -27,6 +30,9 @@ In Infisical, a [project](/documentation/platform/secrets-mgmt/project) holds al<Step>In the **Project Name** field, enter a name for the project (e.g., `orders-service`).</Step>+ <Step>+ Select **Create Project**.+ </Step></Steps>This opens your new project in the **Development** environment:@@ -39,7 +45,7 @@ This opens your new project in the **Development** environment:Within a project, secrets are organized across [environments](/documentation/platform/secrets-mgmt/project#project-environments). Every new project starts with three environments: **Development**, **Staging**, and **Production**.</Note>-## Step 2: Add a secret+### Add your secretYou have two options for adding secrets to your project:@@ -84,9 +90,13 @@ You have two options for adding secrets to your project:</Tab></Tabs>-## Step 3: Authenticate with the CLI+## Step 2: Connect your app to Infisical++Now that you've set up a project that holds your secret in Infisical, you can connect your application and give it access to that secret at runtime.++### Authenticate with the CLI-Next, authenticate with the Infisical CLI by running [`infisical login`](/cli/commands/login):+Authenticate with the Infisical CLI by running [`infisical login`](/cli/commands/login):```bashinfisical login@@ -98,9 +108,9 @@ This prompts you to select your hosting option, then opens your browser to complIn a containerized environment such as WSL 2 or Codespaces, run `infisical login -i` to avoid browser-based login.</Note>-## Step 4: Connect your project+### Connect your project-Now that the CLI is authenticated, you can connect your application to your Infisical project:+Next, connect your application to your Infisical project:<Steps><Step>@@ -127,9 +137,9 @@ Now that the CLI is authenticated, you can connect your application to your Infi</Step></Steps>-## Step 5: Inject the secret into your app+## Step 3: Inject the secret into your app-Now that your Infisical project is configured, Infisical can provide your application with the secret it needs.+Now that your Infisical project is configured within your application, Infisical can provide the secret.Start your application by wrapping its start command with [`infisical run`](/cli/commands/run):