It seems likely that Phoenix does not provide a direct API endpoint for signing into the admin account to automate API key generation. According to the Phoenix authentication documentation, API keys are typically created manually through the Phoenix UI after logging in as an admin. The admin user can create system API keys, which are recommended for programmatic interactions with Phoenix.If you are looking to automate this process, you might need to consider using a script that interacts with the Phoenix UI or explore if there are any updates or plugins that support this functionality. Would you like more detailed guidance on setting up authentication or managing API keys in Phoenix?Sources:
- Phoenix Authentication Documentation
馃挕聽Hint: Mention RunLLM in the thread for followups.
We added PHOENIX_ADMIN_SECRET environment variable in arize-pheonix 8.26.0. It鈥檚 a string that can be used as a bearer token just like any system api key.