Skip to content

Add key retrieval example using fabric in docs #117

Open
@nir0s

Description

@nir0s

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']
...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions