Authentication

Once you have completed the setup and installed the CLI, the next step is to authenticate yourself, so that you can begin to interact with the Provide CLI and start interacting with the Provide Stack.

Create a new user if you have not already done so:

prvd users create

Once that process is complete, you should authenticate:

prvd authenticate

Enter your username and password:

❯ prvd authenticate
✔ Password: *********

If successful, the terminal will display the date and time of authentication.

2021/06/02 09:32:40 Authentication successful

Upon successful authentication, ~/.provide-cli.yaml will have been created if it did not previously exist, with 0600 permissions. This file contains verifiable credentials (JWTs) needed by subsequent calls to the API, along with other metadata.