Approle and x-vault-token

You’d need to authenticate to Vault using an existing token/auth method to generate the secret_id. Until you have the combination of a role_id and a secret_id, you don’t have a way to authenticate using AppRole.

Once you successfully authenticate using AppRole, Vault will return a token. You’ll need to grab the token from the Vault response in order to use it for subsequent requests.