You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling gcp auth, I should be able to get help information.
Actual Behavior:
Following error is shown:
vault auth help gcp
INTERNAL ERROR! Found an auth method enabled at gcp/, but its type "gcp" is
not registered in Vault. This is a bug and should be reported. Please open an
issue at github.com/hashicorp/vault.
Steps to Reproduce:
vault auth enable gcp
vault auth enable gcp
The same applies when substituting gcp with approle
Important Factoids:
The text was updated successfully, but these errors were encountered:
This is a super confusing error message, including the fact that despite what it says it's not a bug, nor an internal error.
The problem is that some auth methods have CLI helpers that make it easier for people on the CLI to use them. gcp does not, so it's detecting that you have an auth method at gcp/ but when it says that its type is not registered in Vault, it doesn't mean the Vault server, it means the CLI's set of method-specific helpers.
In the linked PR I updated those error messages to be more clear.
Environment:
Vault Config File:
Startup Log Output:
Expected Behavior:
After enabling gcp auth, I should be able to get help information.
Actual Behavior:
Following error is shown:
Steps to Reproduce:
The same applies when substituting gcp with approle
Important Factoids:
The text was updated successfully, but these errors were encountered: