Home icon

Configure Kerberos authentication in Linux clients for Amazon RDS for SQL Server with AWS Managed Microsoft AD

Database Blog



This article explains how to configure Kerberos authentication for Linux clients with Amazon RDS for SQL Server, using AWS Managed Microsoft Active Directory (AD).

Specifically, the article covers:

  • Overview of Windows Authentication in SQL Server and Kerberos authentication
  • The solution architecture using AWS Managed Microsoft AD, RDS for SQL Server, and EC2 instances
  • Provisioning AWS resources using CloudFormation
  • Creating AD users and installing required packages on Linux EC2 instance
  • Configuring RDS instance, creating sample database, and setting up Windows logins
  • Retrieving Kerberos ticket-granting ticket (TGT) and performing Kerberos authentication using sqlcmd
  • Automating TGT retrieval using keytab file
  • Performing Kerberos authentication with JDBC
  • Additional setup for self-managed AD using AD trust relationship


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Mar 3
2025
Customer-managed process for configuring Kerberos authentication on an Amazon RDS for SQL Server DB instance, joined to a self-managed Active Directory
Aug 19
2025
Amazon RDS for SQL Server now supports Kerberos authentication with self-managed Active Directory
Dec 16
2024
Authenticate Amazon RDS for Db2 instances using on-premises Microsoft Active Directory and Kerberos
Jul 28
2025
Enable Kerberos Authentication with Amazon RDS for Db2

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.