During provisioning, some secrets are generated that need to be stored in Bitwarden using a machine account. However, I couldn’t find any Ansible tasks that support CRUD operations for secrets, projects, or organizations. Does anyone know if such a solution exists or have suggestions for achieving this?
It is important to authorize ansible to run bw withouth password prompt, so you need to run bw unlock and set BW_SESSION env variable before running ansible playbook.