envs

FusionAuth — API key

fusionauth/api · version 1

envs add fusionauth/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
FUSIONAUTH_API_KEY required secret Carried in the Authorization header with no scheme word before it. FusionAuth says it cannot be retrieved after creation so keep it safe, and that stealing one used client-side is trivial because an attacker need only view source. The name is convention.. where to get it
FUSIONAUTH_URL optional config Where your instance runs. An address. The name is convention.. where to get it

The JSON the CLI reads