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): note that logout deletes the offline secrets backup
Calvin0bb1b8afa8ae
diff --git a/docs/cli/faq.mdx b/docs/cli/faq.mdxindex 8940254334..7a12759fda 100644--- a/docs/cli/faq.mdx+++ b/docs/cli/faq.mdx@@ -62,6 +62,8 @@ Your shell saves the commands you run to a history file, so a secret value you p<Accordion title="Can I fetch secrets with Infisical while I'm offline?">Yes. If you have previously retrieved secrets for a specific project and environment (such as dev, staging, or prod), the `run`/`secret` command will utilize the saved secrets, even when offline, on subsequent fetch attempts.+Running `infisical login` or `infisical logout` deletes the saved secrets, so they're only available offline again after your next fetch.+</Accordion><Accordion title="Can I upload the `.infisical.yaml` file that was generated?">diff --git a/docs/cli/reference.mdx b/docs/cli/reference.mdxindex e6feb26a79..cb9832e9e6 100644--- a/docs/cli/reference.mdx+++ b/docs/cli/reference.mdx@@ -491,6 +491,8 @@ Show whether the CLI is authenticated to Infisical and, when available, the orgaEnd a login session. The CLI removes the profile's stored credentials from this machine, and revokes its session on the server unless another profile still uses that session.+The command also deletes the secrets the CLI saved for offline use. Every profile on this machine shares them, so they're deleted even when other profiles stay logged in, and the CLI saves them again the next time a profile fetches secrets.+The profile itself is kept, so `infisical login --profile <name>` signs back in without setting it up again. To remove the profile, run [infisical profile delete](/cli/reference#profile-delete).Without `--all` or `--profile`, the command logs out of the profile in effect. See [infisical profile](/cli/reference#profile) for how that profile is chosen.