Add API key to header when calling agent
Closed this issue · 4 comments
esune commented
If the agent has an API key protecting it's admin endpoint, the controller should add an x-api-key
header containing the value of the key to each call made to the agent.
esune commented
This is not yet implemented and will require changes to the controller so that the api key is sent to the agent admin interface using the x-api-key
request header.
esune commented
@seanadipose want to tackle this at least on the code end of things? If the environment variable AGENT_ADMIN_API_KEY
is set, the controller should add the x-api-key
request header with the value from the environment variable to all requests going to the agent admin interface.
Once done you can turn it over to me for DevOps/deployment tasks.
seanadipose commented
@esune Yes, I'll take care of it.