Draft: POC: Store Cloud Connector keys in ApplicationSettings
What does this MR do and why?
Proof of concept for managing Cloud Connector keys in the database.
TODO:
-
DB setup for key storage -
Support signing with and serving multiple keys -
Create rake tasks for key management -
Replace DB migration for seeding keys with fixture file -
Test with various scenarios (keys exist / don't exist, rotation etc.) -
Fix issue with seeding FOSS db: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/8787043855 - I wasn't able to resolve this, but the problem remains even after reverting changes I made to fixture files, so I think it might be unrelated to these changes: !176722 (comment 2289121859) -
Fix issue with multi-version update: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/8787043279
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #511055
Edited by Matthias Käppler