Bash script to get secret from hashicorp vault

Job ID: 31312314

Budget: $30 – $250 USD

need to write a bash script to get a secret from hashicorp vault and then apply that secret to aws rds aurora postgres master password I am using the local-exec in terraform and I have to use hasicorp vault. When deploying a aurora postgres database cluster you have to set a password in order for the deployment to work successfully and we don't want the real password in the state file.
Related categories: Amazon Web Services Bash Scripting