zamioculcas readme

This commit is contained in:
Norm MacLennan
2015-01-15 09:09:09 -05:00
parent a7ab8e3c02
commit 60f987718a

View File

@@ -51,6 +51,20 @@ secrets.download_attachment(:scrt_id => 3456, :path => 'secrets/')
``` ```
### Command Line
Zanzibar comes bundled with the [`zamioculcas`](http://en.wikipedia.org/wiki/Zamioculcas) command-line utility that can be used for fetching passwords and downloading keys from outside of Ruby.
`Zamioculcas` supports most actions provided by Zanzibar itself. Because it operates on the command-line, it can be used as part of a pipeline or within a bash script.
```bash
# if you don't pipe in a password, you will be prompted to enter one.
# this will download the private key from secret 1984 to the current directory
cat ./local-password | zamioculcas 1984 -s server.example.com -d example.com -t privatekey
ssh user@someremote -i ./private_key
```
## Contributing ## Contributing
1. Fork it ( https://github.com/Cimpress-MCP/zanzibar/fork ) 1. Fork it ( https://github.com/Cimpress-MCP/zanzibar/fork )