Skip to content

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

add tip to only print token

Maidul Islam85f257b4dbf3
diff --git a/docs/cli/commands/login.mdx b/docs/cli/commands/login.mdx
index 8deea6a4d4..2758ced008 100644
--- a/docs/cli/commands/login.mdx
+++ b/docs/cli/commands/login.mdx
@@ -29,6 +29,9 @@ If you have added multiple users, you can switch between the users by using the
When `method` is set to `universal-auth`, the `client-id` and `client-secret` flags are required. Optionally you can set the `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID` and `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET` environment variables instead of using the flags.
When you authenticate with universal auth, an access token will be printed to the console upon successful login. This token can be used to authenticate with the Infisical API and the CLI by passing it in the `--token` flag when applicable.
+
+ Use flag `--plain` along with `--silent` to print only the token in plain text when using the `universal-auth` method.
+
</Info>
</Accordion>