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 additional review comments
Adrian Kahalid91f38c7ef3c
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 f61c271592..4b2aae6e6e 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,10 +1,10 @@----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."+title: "Inject secrets during local development"+sidebarTitle: "Inject secrets locally"+description: "Store secrets in Infisical and deliver them to your local application without 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.+This quickstart guide walks you through the recommended secrets management workflow for local development. You'll create a [project](/documentation/platform/secrets-mgmt/project), add secrets to one of its environments, and inject them into your local application using the [Infisical CLI](/cli/overview), all without needing a `.env` file.<Info>Prerequisites:@@ -45,12 +45,12 @@ 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>-### Add your secret+### Add your secretsYou have two options for adding secrets to your project:<Tabs>- <Tab title="Create a brand new secret">+ <Tab title="Create secrets manually">To create a new secret from scratch:<Steps>@@ -58,7 +58,7 @@ You have two options for adding secrets to your project:Select **+ Add a New Secret**.</Step><Step>- In the **Key** and **Value** fields, enter the key-value pair for your secret. For example:+ In the **Key** and **Value** fields, enter a key-value pair. For example:<Frame>@@ -67,6 +67,9 @@ You have two options for adding secrets to your project:<Step>Select **Create Secret**.</Step>+ <Step>+ Repeat these steps for each key-value pair you want to add.+ </Step></Steps></Tab><Tab title="Import secrets from an existing file">@@ -92,7 +95,7 @@ You have two options for adding secrets to your project:## 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.+Now that you've set up a project that holds your secrets in Infisical, you can connect your application and give it access to those secrets at runtime.### Authenticate with the CLI@@ -121,7 +124,7 @@ Next, connect your application to your Infisical project:```</Step><Step>- Follow the prompts to select the organization/project where you created your secret earlier. This writes a `.infisical.json` file to your project with [local project settings](/cli/project-config):+ Follow the prompts to select the organization/project where you created your secrets earlier. This writes a `.infisical.json` file to your project with [local project settings](/cli/project-config):```json .infisical.json{@@ -137,9 +140,9 @@ Next, connect your application to your Infisical project:</Step></Steps>-## Step 3: Inject the secret into your app+## Step 3: Inject secrets into your app-Now that your Infisical project is configured within your application, Infisical can provide the secret.+Now that your Infisical project is configured within your application, Infisical can provide the secrets.Start your application by wrapping its start command with [`infisical run`](/cli/commands/run):@@ -157,7 +160,7 @@ Start your application by wrapping its start command with [`infisical run`](/cli```</CodeGroup>-Infisical fetches the secret and injects it as an environment variable. This lets your application read the secret from its environment at runtime.+Infisical fetches the secrets and injects them as environment variables. This lets your application read the secrets from its environment at runtime.<Check>You can now manage your application's secrets through Infisical without needing a `.env` file.