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
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.