Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion standard/cli/command-reference/porter-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,22 @@ After logging in, Porter automatically sets your default project and cluster if

## `porter auth logout`

Log out from Porter and clear your local credentials.
Log out from Porter. This revokes your current session on the Porter API and clears your local credentials, so any cached access or refresh tokens stored on disk can no longer be used.

**Usage:**
```bash
porter auth logout
```

**Example:**
```bash
porter auth logout
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this part feels redundant to have the same cmd as an Example and Usage


<Tip>
After logging out, you'll need to run `porter auth login` again before using other commands.
</Tip>

<Info>
Use `porter auth logout` on shared or untrusted machines before stepping away. Simply deleting the local config file leaves your session valid on the server — only `porter auth logout` revokes it.
</Info>