How to Secure Ansible Playbook Credentials using Hashicorp Vault

When storing credentials in Ansible Playbook, usually we use Ansible Vault for encrypting the value. However, there is an alternative using Hashicorp Vault.