Rubrik : Using Token-based authentication for REST-API Calls
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsEWoHkbiRKCDz5Nldrqsd46j82-evkcNssBxPouH0taHmmpj4WM_Yugj7JaeR_EOFiVoYEfLNEIAJ8R6UuYY-SlyNmfI57iOJO7Tgt2DIUXxOtfyEfbkJBJj078CQNsL1rtttcNKEPFM/s320/rubriklogo.jpg)
Background With the raise of API-driven systems, the need of extra security appeared. When doing a simple API call using simple credentials like username and password you might face some security leaks like stolen credentials. When using a token, you have an expiration time so worst case if the token got stolen it will disappear in the cyberspace once his expiry is reached !