orchestrator-core
orchestrator-core copied to clipboard
Expose environment settings in GUI page via endpoint
Which settings do we want to expose?
app_settingsfrom the orchestrator-coreoauth2lib_settingsfrom oauth2_lib- Settings object in the user's orchestrator implementation
Requirements:
- Sensitive orchestrator-core settings with type
strshould be changed topydantic.SecretStr(and any usages changed to.get_secret_value()) - The endpoint should exclude settings with types that may have sensitive information (PostgresDsn, RedisDsn)
- Or try to reformat them and censor the password
- Make core endpoint extendable/reusable from user's orchestrator implementation (ideas: extendable list in core, register function on app object, custom endpoint in user orchestrator, ...)
- Create a graphQL endpoint for this.