From 0d8e1042ba7cdfe1c3b5c9a22f1364ed2986f25e Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 6 Jan 2023 01:18:12 -0500 Subject: [PATCH] update crud CLI docs and remove projectID from run command --- docs/cli/commands/run.mdx | 1 - docs/cli/commands/secrets.mdx | 26 ++++++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/docs/cli/commands/run.mdx b/docs/cli/commands/run.mdx index 4afd7586d..cbfcb4d98 100644 --- a/docs/cli/commands/run.mdx +++ b/docs/cli/commands/run.mdx @@ -31,7 +31,6 @@ Inject environment variables from the platform into an application process. | Option | Description | Default value | | -------------- | ----------------------------------------------------------------------------------------------------------- | ------------- | | `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` | -| `--projectId` | Used to link a local project to the platform (required only if injecting via the service token method) | None | | `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` | | `--command` | Pass secrets into chained commands (e.g., `"first-command && second-command; more-commands..."`) | None | | `--secret-overriding`| Prioritizes personal secrets with the same name over shared secrets | `true` | diff --git a/docs/cli/commands/secrets.mdx b/docs/cli/commands/secrets.mdx index 32ddb2255..9b4642347 100644 --- a/docs/cli/commands/secrets.mdx +++ b/docs/cli/commands/secrets.mdx @@ -10,7 +10,7 @@ infisical secrets This command enables you to perform CRUD (create, read, update, delete) operations on secrets within your Infisical project. With it, you can view, create, update, and delete secrets in your environment. ### Sub-commands - + Use this command to print out all of the secrets in your project ``` @@ -33,6 +33,12 @@ This command enables you to perform CRUD (create, read, update, delete) operatio Default value: `true` + + Used to select the environment name on which actions should be taken on + + Default value: `dev` + + @@ -52,7 +58,11 @@ This command enables you to perform CRUD (create, read, update, delete) operatio ``` ### Flags - None + + Used to select the environment name on which actions should be taken on + + Default value: `dev` + @@ -74,7 +84,11 @@ $ infisical secrets set STRIPE_API_KEY=sjdgwkeudyjwe DOMAIN=example.com HASH=jeb ``` ### Flags - None + + Used to select the environment name on which actions should be taken on + + Default value: `dev` + @@ -89,5 +103,9 @@ $ infisical secrets set STRIPE_API_KEY=sjdgwkeudyjwe DOMAIN=example.com HASH=jeb ``` ### Flags - None + + Used to select the environment name on which actions should be taken on + + Default value: `dev` + \ No newline at end of file