I need to store an RSA key pair in a YAML file, but a still limited understanding of yaml syntax and a lack of examples has me searching for an answer.
I’ll just start working with what I’ve got, but I was wondering if someone could explain quickly and concisely how I could store something of this nature in yaml.
You can store your keys as text (“ASCII-armored” / base 64 encoded). From Wikipedia, the syntax for multiline strings in YAML is: