Skip to main content

One post tagged with "key"

View All Tags

· One min read
Eduardo Marques

Hi all!

There’s a new feature available: Master Keys!!

Now, let me give you a bit of background why these keys are important.

I also use RESTED_DEV for other projects as it is a good way to test the service and see what’s missing. During one of those projects I realized that there was no way to access the data stored in secure endpoints, and the same for Authentication endpoints. Secure endpoints require you to be logged in, and Authentication endpoints data is only accessible to its creator.

This was problematic because, as a developer I might need to check the data stored, or modify it in case of problems.

TLDR: Master Keys allow you to access the data in all your endpoints, it removes the need for Access tokens or restrictions applied to Authentication endpoints.

And ah, one tip, don’t use Master keys directly in your application, it leaves the endpoint unprotected.

You can find more details in the Project documentation.

I hope you guys find this feature useful. If you have any questions don’t hesitate to contact us!

Stay safe!