You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this old issue @brylie asked "How do I access my auth token and admin API key?" which is a question close to mine but @darylrobbins explained in #135 (comment) how to generate the authentication_token which apparently had not been generated in old versions of the API Umbrella due to missing implementation fixed in NREL/api-umbrella-router@fa10065
That solution does not apply to my case as my initial_superusers get the authentication_token generated.
Is there a similar mongo trick to generate the API key for X-Api-Key:?
How to create superuser non-interactively in order to pre-configure the API Umbrella service via the REST API in non-interactive manner?
The text was updated successfully, but these errors were encountered:
My goal is to do the following during provisioning of a server with API Umbrella setup:
From the docs, I've learned how to create the initial super
and the user gets created but it is not usable:
X-Api-Key:
header value.authentication_token
is created, which I assume is for use as theX-Admin-Auth-Token:
header value.The issue 1. has been also asked about in #439 (comment)
As I have learned from #368 (comment) and #439 (comment), I can query the MongoDB directly:
In this old issue @brylie asked "How do I access my auth token and admin API key?" which is a question close to mine but @darylrobbins explained in #135 (comment) how to generate the
authentication_token
which apparently had not been generated in old versions of the API Umbrella due to missing implementation fixed in NREL/api-umbrella-router@fa10065That solution does not apply to my case as my
initial_superusers
get theauthentication_token
generated.Is there a similar
mongo
trick to generate the API key forX-Api-Key:
?How to create superuser non-interactively in order to pre-configure the API Umbrella service via the REST API in non-interactive manner?
The text was updated successfully, but these errors were encountered: