Sentry Webserver now supports Kerberos Authentication and Authorization. Currently Sentry web server mainly provides metric data, in future, rest api will also use it. Here are the configurations for enable Kerberos Authentication and Authorization for web server.

 

Sentry Service (sentry-site.xml)

Enable Sentry Web Server

Config PropertyValueDefaultRequired
sentry.service.web.enabletruefalseYes
sentry.service.web.port5100051000No

Authentication

Config PropertyValueDefaultRequired
sentry.service.web.authentication.typeKERBEROSNONEYes
sentry.service.web.authentication.kerberos.principalThe principal name(HTTP/$FQDN@REALM)-Yes
sentry.service.web.authentication.kerberos.keytabFile path of keytab file-Yes

Authorization

Config PropertyValueDefaultRequired
sentry.service.web.authentication.allow.connect.usersComma-separated list of users allowed to connectsentryYes

 

 

  • No labels