See Casnode in production: Casbin Forum, with hundreds of real questions about Casbin, Casdoor, OpenAgent and Casvisor. Visit →

conf/app.conf is in git, and I don't want our clientSecret in our fork. What's the intended place for secrets?

9views
2users
1 minread

conf/app.local.conf: same format as conf/app.conf, ignored by git, and every item in it overrides app.conf. Pulling a new version never conflicts with it.

Every item can also be set as an environment variable of the same name (clientSecret=...), which is what the Docker example does.

1 / 2
Oct 27