Skip to content

Commit 059519c

Browse files
authored
Update README.md
Add brief note on how to use Ansible Vault with CATPOD.
1 parent 5f8dc0c commit 059519c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ./tes
3333
t.yml:/tmp/test.yml --rm fpod/catpod test.yml
3434
```
3535

36+
## Vault
37+
38+
You can use CATPOD to encrypt data with Ansible Vault by using the `vault` followed by anything you would use with locally installed `ansbile-vault`. For example, you can use the following command to encrypt a string:
39+
40+
```bash
41+
docker run -it fpod/catpod vault encrypt_string '<variable value>' --name '<variable key>'
42+
```
43+
44+
(For more details see https://docs.ansible.com/ansible/latest/vault_guide/vault_encrypting_content.html#creating-encrypted-variables.)
45+
3646
## Roadmap
3747

3848
What is going to happen next?

0 commit comments

Comments
 (0)