How to generate token with read-only permission to share task result in dataset?

I refered to https://blog.apify.com/how-to-turn-any-website-into-an-rss-feed-a8f9f216e1b0/ and wrote my own rss task, but the only way to get the execution result of task in Storage.dataset is accessing:
https://api.apify.com/v2/actor-tasks/changchiyou~wildrift-news-zh-tw/runs/last/dataset/items?token=[apify_api_MYAPI]&format=rss&clean=true
https://api.apify.com/v2/actor-tasks/changchiyou~wildrift-news-zh-tw/runs/last/dataset/items?token=[apify_api_MYAPI]&format=rss&clean=true
Which means I NEED to expose my apify API if I want to share this rss result, it's strange. Have I missed some docs to generate token with read-only permission (or other way to share task result properly)?
Apify Blog
How to turn any website into an RSS feed
If you are searching for a cheat sheet on how to create an RSS feed for a website - look no further.
1 Reply
genetic-orange
genetic-orange12mo ago
You can put the RSS feed to the named key value store. Then overwrite that value on each run. I have done RSS feeds like that. The url of the feed then stays the same and your token is not exposed.

Did you find this page helpful?