Inform Vertica About the Kerberos Principal
Follow these steps to inform Vertica about the principal name and keytab location.
For information about the parameters that you are setting in this procedure, see Kerberos Configuration Parameters.
-
Log in to the database as an administrator (typically dbadmin).
-
Set the
KerberosKeyTabFile
configuration parameter to point to the location of the keytab file:=> ALTER DATABASE mydb SET KerberosKeytabFile = '/etc/krb5.keytab';
The keytab file must be in the same location (
/etc/krb5.keytab
in this example) on all nodes. -
Set the service name for the Vertica principal; for example,
vertica
:=> ALTER DATABASE mydb SET KerberosServiceName = 'vertica';
-
Provide the realm portion of the principal, for example,
EXAMPLE.COM
:=> ALTER DATABASE mydb SET KerberosRealm = 'EXAMPLE.COM'