kontent-ai / delivery-sdk-js

Kontent Delivery SDK for Javascript
https://kontent.ai
MIT License
50 stars 34 forks source link

Support secure access for assets #376

Open jancerman opened 1 year ago

jancerman commented 1 year ago

Motivation

Customers want to enable secure access to their assets and use the asset-related API keys in the same way as content-related API keys.

Proposed solution

Add support for providing API keys for secure access to assets. Customers are given two API keys, one for production and one for preview.

When secure access for assets is enabled, an asset-related API key must be used for retrieving assets. Otherwise, the API returns an error.

Currently, customers need to create their own custom solutions to make asset requests.

Additional context

Customer feedback