View more context

 

xyphoid

_ss_environment vs SiteConfig for stuff like API keys - what's preferable?

xyphoid

(moving stuff out of config.yml which really isn't ideal haha)

zanderwar

I wouldn’t put API keys in the CMS unless you dgaf tbh

zanderwar

define() in mysite/_config.php is my preferable fallback from YML

xyphoid

we have _config.php in source control so per-site stuff there seems wrong

zanderwar

I don’t think _ss_environment exists in SS4 moving forward, but otherwise that’d be fine.

flamerohr

don't even put them in the .env file (which replaces the _ss_environment.php file in ss4) 😄