← Back to context

Comment by minitech

2 hours ago

> (3) it's provided in an environment variable (no better than before)

Even if you take no measures beyond simply using a token that can be exchanged for secrets (and you can – invalidate it, authenticate it, etc.), you’re already doing better than before, because the token isn’t useful to an attacker without access to the secret store, whereas something like a JWT secret key is very useful.