Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

update crud CLI docs and remove projectID from run command

Maidul Islam0d8e1042ba7c
diff --git a/docs/cli/commands/run.mdx b/docs/cli/commands/run.mdx
index 4afd7586d4..cbfcb4d988 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 32ddb22554..9b4642347e 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
-<Accordion title="infisical secrets">
+<Accordion title="infisical secrets" defaultOpen="true">
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`
</Accordion>
+ <Accordion title="--env">
+ Used to select the environment name on which actions should be taken on
+
+ Default value: `dev`
+ </Accordion>
+
</Accordion>
<Accordion title="infisical secrets get">
@@ -52,7 +58,11 @@ This command enables you to perform CRUD (create, read, update, delete) operatio
```
### Flags
- None
+ <Accordion title="--env">
+ Used to select the environment name on which actions should be taken on
+
+ Default value: `dev`
+ </Accordion>
</Accordion>
<Accordion title="infisical secrets set">
@@ -74,7 +84,11 @@ $ infisical secrets set STRIPE_API_KEY=sjdgwkeudyjwe DOMAIN=example.com HASH=jeb
```
### Flags
- None
+ <Accordion title="--env">
+ Used to select the environment name on which actions should be taken on
+
+ Default value: `dev`
+ </Accordion>
</Accordion>
<Accordion title="infisical secrets delete">
@@ -89,5 +103,9 @@ $ infisical secrets set STRIPE_API_KEY=sjdgwkeudyjwe DOMAIN=example.com HASH=jeb
```
### Flags
- None
+ <Accordion title="--env">
+ Used to select the environment name on which actions should be taken on
+
+ Default value: `dev`
+ </Accordion>
</Accordion>
\ No newline at end of file