2018-04-24 11:43:52 +00:00
|
|
|
[![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/yaml-vault)](https://goreportcard.com/report/github.com/Luzifer/yaml-vault)
|
|
|
|
![](https://badges.fyi/github/license/Luzifer/yaml-vault)
|
|
|
|
![](https://badges.fyi/github/downloads/Luzifer/yaml-vault)
|
|
|
|
![](https://badges.fyi/github/latest-release/Luzifer/yaml-vault)
|
2016-07-11 15:07:03 +00:00
|
|
|
|
2018-04-24 11:43:52 +00:00
|
|
|
# Luzifer / yaml-vault
|
2016-07-11 15:07:03 +00:00
|
|
|
|
|
|
|
`yaml-vault` is a small utility to import data from a YAML file to Vault or export keys from Vault into a YAML file.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# cat vault.yaml
|
|
|
|
keys:
|
2016-08-08 14:26:11 +00:00
|
|
|
- key: secret/integration/test
|
|
|
|
values:
|
|
|
|
bar: foo
|
|
|
|
foo: bar
|
2016-07-11 15:07:03 +00:00
|
|
|
|
|
|
|
# yaml-vault --import -f vault.yaml
|
|
|
|
|
|
|
|
# vault read secret/integration/test
|
|
|
|
Key Value
|
|
|
|
--- -----
|
|
|
|
refresh_interval 2592000
|
|
|
|
bar foo
|
|
|
|
foo bar
|
|
|
|
|
|
|
|
```
|