3 ms·
We use API keys for all APIs. The keys can be scoped to a tenant, endpoint(s), HTTP methods (GET/POST) and also can be locked down via IP address. We also use
by mooreds 5y ago
We use API keys for all APIs. The keys can be scoped to a tenant, endpoint(s), HTTP methods (GET/POST) and also can be locked down via IP address.
We also use OAuth access tokens for a few of our API endpoints. We're looking at rolling that out through more of our API endpoints.
We have a few APIs that can be called without any authentication at all. With this situation, the data returned is typically a subset of what would be returned if called with an API key.
And finally, basic auth for one API that integrates with Prometheus.
- ReactiveJelly 5y agoHow do you manage your keys? Some manual CRUD thing? Something FOSS? Something that your cloud provider provides?
- mooreds 5y agoWe have our own custom subsystem for keys as it is a critical part of our application. (So, at the end of the day, in a database the application controls.)