deploydb/doc/auth.adoc

1.4 KiB
Raw Permalink Blame History

<html lang="en"> <head> </head>

#DeployDB Authentication

Basic HTTP Authentication for Administrator

  • Following configuration enables basic authentication for REST APIs available over the admin port.

deploydb.launch.yml
http:
  adminUsername: admin1234
  adminPassword: password1234

LDAP Authentication for Users

deploydb.launch.yml
ldap:
  uri: ldap://server.example.com:10389
  # Cache 10000 credentials for at least 10 minutes
  cachePolicy: maximumSize=10000, expireAfterWrite=10m
  baseDC: "dc=example,dc=com"
  bindDN: "cn=admin"
  bindPassword: "secret"
  userNamePrefix: cn
  # Filter groups by ObjectClass associated with user
  userObjectClass: posixUser
  groupNamePrefix: cn
  # Attribute that defines the association
  groupMembershipPrefix: memberUid
  # Filter groups by ObjectClass associated with group
  groupObjectClass: posixGroup
  distinguishedNamePrefix: dn
  connectTimeout: 500ms
  readTimeout: 500ms

Security

  • The https can be enabled in the launch config for end-to-end security

  • All of the REST APIs are available over HTTPS.

</html>