KV Namespace ID

Hi, should KV Namespace IDs or even something like a D1 database_id be committed to a Git repo in plain text? If not, how can they be stored as secrets in the wrangler.toml file?
3 Replies
Walshy
Walshy10mo ago
Everything in wrangler.toml can be committed and is not secret
Deanmuse94
Deanmuse94OP10mo ago
Thank you, is it considered safe if anyone with access to the repository can view the IDs ?
Beny
Beny10mo ago
The IDs are safe for anyone to see, they can't be used outside your account

Did you find this page helpful?