References for using Ansible-Vault's APIs in a Python script

ShanDesai
Mon, 08 Apr 2024 06:59:07 +0000
Get Help

Is there some development documentation where I can implement the encrypt / decrypt functionality that the ansible-vault CLI provides via a python API that does not involve using subprocess ?

I have a very simple REST API where I wish to add dedicated secrets to some vault.yml files in the inventory directory and wish to encrypt and decrypt the files after writing to the file and before writing to the file respectively.

5 posts - 5 participants