I want to store the ansible vault password in aws secret manager and then use the CLI to decrypt the contents in the vault by referencing to the password stored in aws secret manager when required....How can I do that?
I have stored the password as a secret in aws secret manager, but I don't know how to give a reference to the secret using CLI.
I thought using Ansible-vault view --vault-password-file="path" would work. But I dont know how to give access to that path and also make the password secure.