docs
docs copied to clipboard
Generate configuration file from Configuration Editor
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [ ] This issue affects my Ory Cloud project.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Describe your problem
The Configuration Editor component does not produce any output, it simply validates it, but since it only accepts manual input is not even useful to validate a current configuration file, as seen on the Keto Configuration Editor or Kratos Configuration Editor.
Describe your ideal solution
The Editor should be able to output a valid configuration file upon pressing the "Submit" Button. A function can be passed to the component to aid in producing the output, but since it already receives the schema i see no problem in generating a valid yaml or json configuration file as output.
This file could be downloaded by the user, or simply shown in a text editor.
Workarounds or alternatives
The alternative is to just manually write out the configuration file alongside the Configuration Editor.
Version
Additional Context
No response