Manage authentication to the Ocuroot server
auth
command group provides commands for managing authentication with the Ocuroot server.
Authentication tokens can be stored either globally or locally within a source repository.
The OCUROOT_API_KEY
environment may also be used for authentication within a third-party CI platform.
Order of precedence for authentication:
OCUROOT_API_KEY
environment variable~/.ocuroot/auth
)~/.ocuroot/auth
)--local
: Store credentials in the local repository’s .ocuroot/auth
file instead of globally in ~/.ocuroot/auth
OCUROOT_API_KEY
environment variable, you will be warned that it will still be used for authentication.
Options:
--local
: Remove credentials from the local repository’s .ocuroot/auth
file instead of globally from ~/.ocuroot/auth
--local
: Check for credentials in the local repository’s .ocuroot/auth
file instead of globally in ~/.ocuroot/auth