Kerberos Authentication for browser monitors
Kerberos Auhtentication enables monitoring on Single Sign-On (SSO) protected sites, usually behind Microsoft Active Directory.
Requirements
- Kerberos Authentication works for Private Locations only. It will not work from Elastic's managed global locations.
- Credentials must be made available to the agent process beforehand. A keytab for the service account plus a
kinit'd ticket cache (KRB5CCNAME). Keep it fresh with a cron job orsystemdtimer (e.g.kinit -Revery few hours,kinit -kton failure). /etc/krb5.confmust be configured for your realm.- The SPN (e.g.
HTTP/intranet.corp.local@CORP.LOCAL) must be registered against the service account that fronts the protected URL.
Browser monitors already have first-class support for SSO Kerberos authentication, simply specify the protected domains under playwrightOptions.args:
playwrightOptions: {
args: [
'--auth-server-allowlist=*.corp.local,corp.local',
'--auth-negotiate-delegate-allowlist=*.corp.local',
],
}
The hostname must match an entry in --auth-server-allowlist. The matcher is hostname-only and supports shell-style wildcards — *.corp.local will NOT match the bare corp.local.