Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for executor authentication #118

Open
atringham opened this issue May 21, 2019 · 1 comment
Open

Add support for executor authentication #118

atringham opened this issue May 21, 2019 · 1 comment

Comments

@atringham
Copy link

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

@ariesdevil
Copy link
Contributor

PR is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants