auth
This page is the command reference for @orchestor-inc/cli.
orc login and orc logout are shortcuts for orc auth login and orc auth logout.
Commands
orc auth login— Authenticate with the Orchestor APIorc auth status— Verify the active credentialorc auth logout— Remove stored API credentialsorc auth credential— 標準出力へ現在の資格情報を明示的に出す(秘密情報)
orc auth login
Authenticate with the Orchestor API
Usage
orc auth login [flags]orc auth login opens Orchestor. Check that its confirmation code matches your terminal. If you are signed out, complete the normal login and setup in the new tab, then return to authorize the CLI. An existing web session is reused.
The CLI receives an independent session. orc auth logout revokes it. Authorization requests expire after 10 minutes. Credentials are saved only after a successful workspace read.
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--api-key | string | No | API key (deprecated; pipe via standard input instead) |
--profile | string | No | Named credential profile to activate |
--scope | string | No | Credential scope: org:admin |
--web | boolean | No | Orchestor browser authorization (explicit alias) |
See global flags for output and request options. Use --help to check the flags supported by this command.
Help
orc auth login --helporc auth status
Verify the active credential
Usage
orc auth status [flags]See global flags for output and request options. Use --help to check the flags supported by this command.
Compatibility aliases
orc auth status getorc auth validate
Help
orc auth status --helporc auth logout
Remove stored API credentials
Usage
orc auth logout [flags]See global flags for output and request options. Use --help to check the flags supported by this command.
Help
orc auth logout --helporc auth credential
標準出力へ現在の資格情報を明示的に出す(秘密情報)
This command writes a secret credential to standard output. Do not run it in shared terminals, logs, or recordings.
Usage
orc auth credential [flags]See global flags for output and request options. Use --help to check the flags supported by this command.
Help
orc auth credential --help