A while back I wrote this article on how to use Hashicorp Vault AppRole with Dgraph. Dgraph supports Vault directly to store secrets for enterprise features ACLs and Encryption at Rest.
https://joachim8675309.medium.com/hashicorp-vault-with-approle-auth-724178503903