API token management in ui

Hello Dear DataGerry Team, I do not understand how to generate token for api management. Nothing is related on API in admin datagerry panel ui ? I go on a restheart solution to plug on mongodb for the moment but that is not a great thinks.
As you see my administrator panel, nothing is related to API.


Where do i can find / generate token ? I did not find what I search in DataGerry.
I think that api is running because api url answer.
Please tell me what can I do to generate and use token ?
I user docker docker-compose as below :slight_smile:
https://docs.datagerry.com/latest/admin_guide/setup.html#docker-image
My DG version is :
{
“title”: “DATAGERRY”,
“version”: “1.7.2”,
“connected”: true
}

Thank you
Gauthier

I have got the exact same question. I cannot find a way to test the rest API. I have installed datagerry 2.0.0 rpm on a linux test server and curl -u admin:admin -k “https://192.168.56.3/rest/objects/” returns {“description”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“joke”:“Even a blind squirrel finds a nut once in a while.”,“message”:“”,“response”:“Unauthorized: https://192.168.56.3/rest/objects/","status”:401}

AC

Hi @hopentux @acpfn,
the generated token can be found in the mongodb database under cmdb => settings.conf => _id=security.

The is currently an issue with the base login which we will try to fix for the next monir release, see more info here in forum Setup/permissions for ansible inventory - #5 by MiB .

BR Adnan