Authentication and environment selection
polygraph authOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI |
polygraph auth login
Section titled “polygraph auth login”Authenticate with Polygraph
polygraph auth loginOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI | |
--token | string | Set a pre-provisioned PAT directly (headless mode) | |
--insecure-storage | boolean | Store the PAT in the legacy 0600 INI file when no OS keychain is available |
polygraph auth logout
Section titled “polygraph auth logout”Remove stored credentials for the effective URL
polygraph auth logoutOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI |
polygraph auth select
Section titled “polygraph auth select”Switch the active Polygraph environment. Runs interactively by default; pass --url <url> to set the active environment non-interactively. Use polygraph auth list to see configured environments.
polygraph auth selectOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI | |
--url | string | Switch the active Polygraph environment |
polygraph auth list
Section titled “polygraph auth list”List configured Polygraph environments
polygraph auth listOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI |
polygraph auth whoami
Section titled “polygraph auth whoami”Show current auth status + account
polygraph auth whoamiOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--help, -h | boolean | Show help for the current command | |
--version | boolean | Show the version number for the CLI |