@Ankit TripathiHadoop KMS is a cryptographic key management server based on Hadoop's KeyProvider API.It provides a client which is a KeyProvider implementation that interacts with the KMS using the HTTP REST API.
The value set looks good, Unless you are running hdp in cluster mode.
If you have more than 1 machine in cluster i will suggest to use hostname instead of localhost.