Provide authentication using a REST call
REST auth can be defined like any other eauth module:
external_auth: rest: ^url: https://url/for/rest/call fred: - .* - '@runner'
If there are entries underneath the ^url entry then they are merged with any responses from the REST call. In the above example, assuming the REST call does not return any additional ACLs, this will authenticate Fred via a REST call and allow him to run any execution module and all runners.
The REST call should return a JSON array that maps to a regular eauth YAML structure of a user as above.
Call the rest authentication endpoint