Overview:
When Authenticating in Vault API, Passwords with special characters may need encoding. This situation produces the following Error: AUTHENTICATION FAILED.
Root Cause:
Password special characters may need encoding.
Solution:
Please use a URL character encoding reference for the specific values.
If the password contains a special character it may need encoding.
- For p@ssword
- https://{Vault_Domain}/api/v18.1/auth?username={username}&password=p%40ssword
Related Documentation:
Vault API Documentation: API Authentication