This message was deleted.
# general
s
This message was deleted.
1
p
@Teymour We don't have any API docs yet. Curious, what are the use cases you had for API endpoint for users? docs for user management - https://signoz.io/docs/userguide/authentication/
t
@Pranay: Hey Pranay, sorry for the late answer. I have been tearing down and re-creating a signoz setup with terraform/ansible several times over the last few days. And was just wondering if there was a way to automatically provision a setup with pre-defined users.
But it's not critical as I will be saving the signoz.db (sqlite) to a seperate non deletable volume when the time comes.
Regarding the import of dashboards via API, where do you get the bearer token from? That's something I haven't been able to figure out yet with a quick search.
a
@Teymour there is an auth component at query-service. After a user provides correct credentials, they receive a bearer token which is stored at frontend and passed to every request to backend. Every token has an expiry period, probably 30 mins after which a new token is provided using refreshToken api