-
Notifications
You must be signed in to change notification settings - Fork 5.5k
new feature: refactor server-side PKI #67799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@twangboy appreciate the approve but still working on this one 👍 have some unaccounted for work with the cluster mode i need to look at as well as the current failing tests (also need to add more coverage) |
I added |
@twangboy sorry had to remove the label, something weird is going on with the github actions; i need the tests to run but its being wonky. will keep poking at it |
the end goal of this work is to support a non file/disk based interface for pub key management. Using the existing salt.cache interface allows us to leverage existing implementations of other storage backends (ie mysql, postgres, redis, etc). Of note, this will allow a common shared view of pub keys for multi-master setups. To avoid a break-the-world scenario in this change, a fully backward compatible salt.cache.localfs_key_backcompat is provided as the new default that emulates the disk operations salt.key was doing before. open discussion items: - as is i've left master side pub/priv key as is to live in etc/salt/pki; it COULD be moved to the same interface if thats desired
What does this PR do?
The end goal of this work is to support a non file/disk based interface for pub key management. Using the existing salt.cache interface allows to leverage existing implementations of other storage backends (ie mysql, postgres, redis, etc).
Of note, this will allow a common shared view of pub keys for multi-master setups.
To avoid a break-the-world scenario in this change, a fully backward compatible salt.cache.localfs_key_backcompat is provided as the new default that emulates the disk operations salt.key was doing before.
open discussion items:
- as is i've left master side pub/priv key as is to live in etc/salt/pki; it COULD be moved to the same interface if that's desired
Tests written?
Not yet, pushing to see what CI does
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.