ENVCONSUL vault auth with AWS-Method

Hi everyone
I saw that the envconsul config has an auth stanza with username and password.
i was wondering if there is anything like this for aws-role (i can login to vault with this command - “vault login -method=aws role=devops”
But - i want envconsul to authenticate that way - is that possible?

Hi @nadavbuc,

envconsul currently requires a Vault token to communicate with Vault. It can either be provided in the config file or as an environment variable: VAULT_TOKEN.

You could log in via the HTTP API and provide the auth.client_token in the response to envconsul.

Best,

Freddy