As an organization admin, it is possible to create API keys that can use env0 without interacting with the UI. for example, you can use our API directly, work with our Terraform Provider or use our Private Module Registry.

How to create an API key

From Organization Settings navigate to API Keys tab:

Click the + button to see the create API key modal.
By default, the role of the key will be Admin, but you can also assign it to a user role, and provide specific project permission (just like when inviting a new user to the platform)

Admin API Key

With an admin API key, you can perform any request that requires admin permission: changing organization settings, deploying and approving environments, etc.
You can check our full API here.

Non-Admin API Key

With a non-admin (User) API key, you can provide members of your team with the ability to use our API, while maintaining your organization's RBAC.
When creating a user API key, it can be configured with specific project permissions, assigned to a team, and treated like any other user in the system.


Did this page help you?