Cmdlets for OData

Build 20.0.7654

KerberosKDC Parameter (Connect-OData Cmdlet)

The Kerberos Key Distribution Center (KDC) service used to authenticate the user.


Connect-OData -KerberosKDC string


The Kerberos properties are used when using SPNEGO or Windows Authentication. The cmdlet will request session tickets and temporary session keys from the Kerberos KDC service. The Kerberos KDC service is conventionally colocated with the domain controller.

If Kerberos KDC is not specified, the cmdlet will attempt to detect these properties automatically from the following locations:

  • KRB5 Config File (krb5.ini/krb5.conf): If the KRB5_CONFIG environment variable is set and the file exists, the cmdlet will obtain the KDC from the specified file. Otherwise it will attempt to read from the default MIT location based on the OS: C:\ProgramData\MIT\Kerberos5\krb5.ini (Windows) or /etc/krb5.conf (Linux)
  • Domain Name and Host: The cmdlet will infer the Kerberos Realm and Kerberos KDC from the configured domain name and host as a last resort.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654