has anyone tried to store pkcs8 format files in the vault? the data is binary, i’m not sure if it can be stored in the vault. Any pointers ?
~~ Q : Source : Slack ~~
Solved! Go to Solution.
Not directly. PKCS8 is a binary format. Apigee's vault stores key-value pairs where the value is generally a string. It is possible to Base64 encode a PCKS8 file and then store the result in the vault.
Not directly. PKCS8 is a binary format. Apigee's vault stores key-value pairs where the value is generally a string. It is possible to Base64 encode a PCKS8 file and then store the result in the vault.
Thank you @Srinandan Sridhar , It's helpful.
This gh project shows a provisioning script that inserts a PEM-encoded private key into the vault, and of course the nodejs code to retrieve the key from the vault.
There is also some Java callout code that turns the PEM-encoded thing into a PrivateKey.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |