ecadlabs / auth

0 stars 2 forks source link

Add support for service accounts #21

Closed carte7000 closed 5 years ago

carte7000 commented 5 years ago

Add the concept of "Service Accounts" that are used by other systems, tools or scripts to authenticate with the auth daemon. Upon succesfull authentication, the auth daemon would issue a typical JWT token. Downstream services that validate the JWT token with have little to no variation in how they process requests for a Service account or a User account.

Service accounts are similar to users account:

The main difference with the user account is the that they don't have a password instead they can be authenticated by one of the following methods:

Machine account can be managed by a regular user who has the permissions to do so.