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
doc(cli): improve --plain example + add --silent notice
Grraahaam2160c66e209b
diff --git a/docs/cli/commands/secrets.mdx b/docs/cli/commands/secrets.mdxindex 7428a84a18..03ebde1c09 100644--- a/docs/cli/commands/secrets.mdx+++ b/docs/cli/commands/secrets.mdx@@ -93,11 +93,23 @@ $ infisical secrets```bash# Example- infisical secrets --plain+ infisical secrets --plain --silent```</Accordion>+ <Accordion title="--silent">+ The `--silent` flag disables output of tip/info messages. Useful when running in scripts or CI/CD pipelines.++ ```bash+ # Example+ infisical secrets --silent+ ```++ Can be used inline to replace `INFISICAL_DISABLE_UPDATE_CHECK`++ </Accordion>+</Accordion><Accordion title="infisical secrets get">@@ -132,16 +144,30 @@ $ infisical secrets get DOMAIN PORTinfisical secrets get FOO BAR --plain# Fetch a single value and assign it to a variable- API_KEY=$(infisical secrets get FOO --plain)+ API_KEY=$(infisical secrets get FOO --plain --silent)```<Tip>- When running in CI/CD environments or in a script, set `INFISICAL_DISABLE_UPDATE_CHECK` env to `true`. This will help hide any CLI update messages and only show the secret value.+ When running in CI/CD environments or in a script, set `INFISICAL_DISABLE_UPDATE_CHECK=true` or add the `--silent` flag. This will help hide any CLI info/debug output and only show the secret value.</Tip></Accordion>+ <Accordion title="--silent">+ The `--silent` flag disables output of tip/info messages. Useful when running in scripts or CI/CD pipelines.++ ```bash+ # Example+ infisical secrets get FOO --plain --silent+ ```++ Can be used inline to replace `INFISICAL_DISABLE_UPDATE_CHECK`++ </Accordion>+<Accordion title="--raw-value (deprecated)">+ Use `--plain` instead, as it supports single and multiple secrets.+Used to print the plain value of a single requested secret without any table style.Default value: `false`@@ -149,7 +175,7 @@ $ infisical secrets get DOMAIN PORTExample: `infisical secrets get DOMAIN --raw-value`<Tip>- When running in CI/CD environments or in a script, set `INFISICAL_DISABLE_UPDATE_CHECK` env to `true`. This will help hide any CLI update messages and only show the secret value.+ When running in CI/CD environments or in a script, set `INFISICAL_DISABLE_UPDATE_CHECK=true` or add the `--silent` flag. This will help hide any CLI info/debug output and only show the secret value.</Tip></Accordion>