orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

Expose environment settings in GUI page via endpoint

Open hanstrompert opened this issue 9 months ago • 1 comments

hanstrompert avatar Mar 03 '25 13:03 hanstrompert

Which settings do we want to expose?

  • app_settings from the orchestrator-core
  • oauth2lib_settings from oauth2_lib
  • Settings object in the user's orchestrator implementation

Requirements:

  • Sensitive orchestrator-core settings with type str should be changed to pydantic.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.

Mark90 avatar Apr 23 '25 12:04 Mark90