Bootstrap FreeKB - Hashicorp Vault - List enabled authentication methods using the vault auth list command
Hashicorp Vault - List enabled authentication methods using the vault auth list command

Updated:   |  Hashicorp Vault articles

This assumes the following has already been done.

After a clean install of Hashicorp Vault, the vault auth list command should return something like this, which shows there is a single authentication method enabled, token auth.

~]$ vault auth list
Path      Type     Accessor               Description                Version
----      ----     --------               -----------                -------
token/    token    auth_token_5013c38c    token based credentials    n/a

 

Let's say you use the vault auth enable approle command to enable approle authentication.

~]$ vault auth enable approle
Success! Enabled approle auth method at: approle/

 

Now the vault auth list command should include approle.

~]$ vault auth list
Path        Type       Accessor                 Description                Version
----        ----       --------                 -----------                -------
approle/    approle    auth_approle_5174b018    n/a                        n/a
token/      token      auth_token_5013c38c      token based credentials    n/a

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 0c1dfa in the box below so that we can be sure you are a human.