Article

    Authenticate with the Cerby CLI | Cerby Help Center

    2 min read
    Last updated 18 months ago

    Authenticate with the Cerby CLI To completely wield the capabilities of the Cerby Command Line Interface (CLI) and securely manage your sensitive data, you must complete the authentication process. This article describes how to log in to the Cerby platform with the Cerby CLI via the login command. The login command is the first step in interacting with Cerby via its commands. This command secures your access to the platform's resources and initiates a session for executing further commands. Cerby has the following authentication processes to enable you to log in even in unusual situations where you can't access a web browser: ​​The following sections describe each process. Log in via a web browser To log in via a web browser and start using the CLI commands, you must complete the following steps: To learn more about the available commands in the Cerby CLI, refer to the Use the Cerby CLI article. Log in via a bearer token In cases where opening a browser window is not an option, for example, using a remote server, you can use the --bearer-token flag in the login command as an alternate way of authentication. To obtain your Cerby bearer token and use it to log in to the Cerby platform, you must complete the following steps: