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
docs(cli): document migrate-config and secrets set without read access (#8757)
mintlify[bot]ee76b3ad634c
diff --git a/docs/cli/reference.mdx b/docs/cli/reference.mdxindex 7eef26dc4a..1b172589fc 100644--- a/docs/cli/reference.mdx+++ b/docs/cli/reference.mdx@@ -629,6 +629,20 @@ Without `--all` or `--profile`, the command logs out of the profile in effect. S</CLICommand>+<CLICommand+ id="migrate-config"+ command="migrate-config"+ examples={[+ { title: "Convert the legacy project config", code: "infisical migrate-config" },+ ]}+>++Convert a legacy `.infisical.json` into `.infisical.yaml`. The command looks for the project config in the current directory, then in each parent directory. It writes `.infisical.yaml` next to the file it finds, copies every setting into it, and deletes `.infisical.json`.++If the project already uses `.infisical.yaml`, the command changes nothing. It warns you when a leftover `.infisical.json` sits in the same directory, because `.infisical.yaml` takes precedence and the old file is no longer read. See [Migrate to .infisical.yaml](/cli/project-config-migration) for the full steps.++</CLICommand>+<CLICommandid="org"command="org"@@ -1916,6 +1930,8 @@ In scripts, pass `--plain --silent` to print only the values, with no other outpCreate secrets, or update the value of secrets that already exist. The result table masks values unless you pass `--show-values`.+You can set secrets without permission to read secret values. In that case, the CLI can't compare values, so it writes every secret you pass that already exists and reports each one as `SECRET VALUE MODIFIED`, even when the value didn't change.+Your shell saves the values you pass on the command line in its history file. To keep them out, pass `--file` or `name=@path`, or [set your shell to skip these commands](/cli/faq).</CLICommand>diff --git a/docs/cli/reference/migrate-config.mdx b/docs/cli/reference/migrate-config.mdxnew file mode 100644index 0000000000..63507e8058--- /dev/null+++ b/docs/cli/reference/migrate-config.mdx@@ -0,0 +1,4 @@+---+title: "infisical migrate-config"+url: "/cli/reference#migrate-config"+---diff --git a/docs/docs.json b/docs/docs.jsonindex 8fa528b230..c8492ac7d5 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -1327,6 +1327,7 @@"cli/reference/kmip","cli/reference/login","cli/reference/logout",+ "cli/reference/migrate-config","cli/reference/org","cli/reference/pam","cli/reference/profile",