Im running ravendb under shared hosting under IIS. I have set up api key which enables me to call my my ravendb server from code. This all works fine.

The problem is i cant seem to figure out how to make this work with the Ravendb studio. As i see it the only option is to set <add key="Raven/AnonymousAccess" value="Admin"/> the i need to change the server, eg add a database and back to <add key="Raven/AnonymousAccess" value="None"/> when im done. Is there anyway to use the same oauth api key to access the studio as im using in my code?

If not, is there any work around you could surgest?

Thanks

有帮助吗?

解决方案

You can use the same Api Key also to get access for a specific database in the studio:

https://example.com/raven/studio.html#/home?api-key={api-kay}&database={database-name}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top