Link Search Menu Expand Document

Bearer Token Authentication

CloudEnv uses Bearer tokens to authenticate API and CLI requests.

Usually, you will generate a Bearer token when you run cloudenv login on a machine that you haven’t logged in on before.

The Bearer token when you cloudenv login will be stored in ~/.cloudenvrc

Generating New Bearer Tokens

Alternatively, you can generate new Bearer tokens at any time at https://app.cloudenv.com/api_tokens

For tokens that are made for CI/CD, Docker or other deployment servers, it is strongly recommended to make these tokens READ ONLY so that no modifications will be allowed from these tokens.

Furthermore, you can add IP restrictions for tokens so that certain tokens can only be used with certain IP addresses.