> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pg-sharding.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Various authentication types

SPQR provides various methods for authenticating users:

* `trust`, see [Trust Authentication](https://www.postgresql.org/docs/15/auth-trust.html).
* `password`, `md5`, `scram` and `scram-sha-256`, see [Password Authentication](https://www.postgresql.org/docs/15/auth-password.html).
* `ldap`, see [LDAP Authentication](https://www.postgresql.org/docs/current/auth-ldap.html)
* `gss`, using Kerberos. See [GSSAPI Authentication](https://www.postgresql.org/docs/current/gssapi-auth.html).

For more information about authentication config, see [pkg/config/auth.go](https://github.com/pg-sharding/spqr/blob/master/pkg/config/auth.go)
