Created
May 3, 2019 06:38
-
-
Save croessner/60bcc28f034dbf0daf2a9eb2372e8af5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rns root@mx ~ # vault secrets enable -path=dkim kv | |
Success! Enabled the kv secrets engine at: dkim/ | |
rns root@mx ~ # rspamadm vault newkey --algorithm rsa example.com | |
stored key for: example.com, selector: 20190503 | |
please place the corresponding public key as following: | |
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCw6rWlQOP75vxL7xGs7qqKpicw6jQmPMIS8YDx+7E+e/Irrk9jRrxHJOezyiMX/hq1KBD5326pyQsCA2xSYVye65OPXRFNVKVgcAHpEIKiJ2azv49+JNIXQWjgkS723Q2aanSmoQOxBQ8auGJqmXJNnpeqiwBNg0ssQFiY+cCA8wIDAQAB | |
rns root@mx ~ # rspamadm vault newkey --algorithm ed25519 example.com | |
stored key for: example.com, selector: 20190503 | |
please place the corresponding public key as following: | |
BzEvCdTCW2roIbDooC1NwDWMnXzp2QD1TVgLsobypGw= | |
rns root@mx ~ # vault kv get dkim/example.com | |
====== Data ====== | |
Key Value | |
--- ----- | |
selectors [map[domain:example.com key:5Q8kJK5uMxBFiuCJ1jEi40ikG4J2SjCHuwbi5ROQI8cHMS8J1MJbaughsOigLU3ANYydfOnZAPVNWAuyhvKkbA== selector:20190503]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment