pymesos icon indicating copy to clipboard operation
pymesos copied to clipboard

Add support for executor authentication

Open atringham opened this issue 5 years ago • 1 comments

At the moment there is no way to enable authentication for the executor using pymesos.

When executor authentication is enabled the agent injects MESOS_EXECUTOR_AUTHENTICATION_TOKEN into the the executors environment. This needs to be added to each requests header in order to authenticate, like the following

Authorization: Bearer MESOS_EXECUTOR_AUTHENTICATION_TOKEN

See http://mesos.apache.org/documentation/latest/authentication/

If you think this is an acceptable approach I would be happy to provide a PR

atringham avatar May 21 '19 20:05 atringham

PR is welcome.

ariesdevil avatar May 22 '19 06:05 ariesdevil