Can I create the configuration values (all of them) in the saml.config file programatically?

Your solution currently uses a locally stored saml.config file to load configuration values. We’d like to use values from our database. Is this possible? We run a multi-tenant web application where our customers need to use their ADFS (on premise or cloud hosted) credentials to log into our web application. Our web application is setup as a server farm behind load balancers so we do not store “customer” files locally. All customer assets are either in a database or in remote storage such as AWS S3 or Azure Blob Storage.

Please advise.

Yes, that is supported. We include an API for setting the SAML configuration programmatically.
We also have specific support for multi-tenancy applications.