Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoCLI export of SSH private key does not export in the expected format.
I store SSH private keys in 1Password, and would like to run a command using the OP CLI to "get" or "read" a private key.
When run the following OP command:
op read op://private/'Key Name'/'Pri...
brchar
2 years agoNew Contributor
i have a similar issue only related to how the Ansible Plugin for 1password works.
if you use op item get item_name --vault vault_name --fields private_key --format json the key in the value field is not the openSSH Key even though it was created in 1 password as an ED25519 Key
the Ansible plugin(s) rely on the json format of the output.