How to create an API key which is tenant and application specific?

291 Views Asked by At

I am using java api to create tenants and applications. But I couldn’t find any javadocs which will let me create API key for a newly created tenant from java directly. Can you point me to java doc or an example? Thanks!

1

There are 1 best solutions below

2
On

There is not an API to create API keys. The only way to create an API key is using Kickstart or the FusionAuth Admin UI (Settings > API Keys).

You can then optionally create an API key with access only to the Application API by limiting the allowed endpoints to /api/application.