How to set Api Tokens using an env variable?

I’m looking for a way to set a default API TOKEN using an env variable - right now I only see a way to do so through the UI.

I know there is API_TOKEN_SALT
I’m looking for an actual API_TOKEN that I can set myself

I thought I saw it in the docs - but can’t recall where.