Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Connecting to Oracle with Kerberos authentication

Focus mode
Connecting to Oracle with Kerberos authentication - Amazon Relational Database Service

This section assumes that you have set up your Oracle client as described in Step 8: Configure an Oracle client. To connect to the Oracle DB with Kerberos authentication, log in using the Kerberos authentication type. For example, after launching Oracle SQL Developer, choose Kerberos Authentication as the authentication type, as shown in the following example.

Shows the New/Select Database Connection dialog box in Oracle SQL Developer. The Kerberos Authentication checkbox is selected.

To connect to Oracle with Kerberos authentication with SQL*Plus:

  1. At a command prompt, run the following command:

    kinit username

    Replace username with the user name and, at the prompt, enter the password stored in the Microsoft Active Directory for the user.

  2. Open SQL*Plus and connect using the DNS name and port number for the Oracle DB instance.

    For more information about connecting to an Oracle DB instance in SQL*Plus, see Connecting to your DB instance using SQL*Plus.

Tip

If you are using a native Windows cache, you can also set the SQLNET.KERBEROS5_CC_NAME parameter to OSMSFT:// or MSLSA in the sqlnet.ora file to use the credentials stored in the Microsoft Active Directory.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.