AuthMode Enumeration

Authentication mode.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public enum AuthMode

Members

INTERNAL0 Use internal authentication when user/password defined. Hashed password is stored on the server. Do not send clear password. This is the default.
EXTERNAL1 Use external authentication (like LDAP) when user/password defined. Specific external authentication is configured on server. If TLS defined, send clear password on node login via TLS. Throw exception if TLS is not defined.
EXTERNAL_INSECURE2 Use external authentication (like LDAP) when user/password defined. Specific external authentication is configured on server. Send clear password on node login whether or not TLS is defined. This mode should only be used for testing purposes because it is not secure authentication.
PKI3 Authentication and authorization based on a certificate. No user name or password needs to be configured. Requires TLS and a client certificate. Requires server version 5.7.0+

See Also