ghost icon indicating copy to clipboard operation
ghost copied to clipboard

Add key retrieval example using fabric in docs

Open nir0s opened this issue 8 years ago • 0 comments
trafficstars

It would be nice to show in the docs how fabric could utilize ghost to read keys:

import ghost
from fabric import run, env

stash = ghost.Stash(ghost.Storage(...), ...)
env.key = stash.get('ssh_key')['value']['key']
env.host_string = stash.get('ssh_key')['value']['conn']
...

nir0s avatar Mar 30 '17 07:03 nir0s