Home icon

How to clone master user permissions in Amazon RDS for SQL Server

Database Blog



This article shows how to clone the master user permissions in Amazon RDS for SQL Server to a new login account. It explains the process of creating a stored procedure that generates a script to clone the login, server-level permissions, and database-level permissions of the master user account.

Specifically, the article covers:

  • Solution overview
  • Prerequisites
  • Creating a stored procedure
  • Running the stored procedure
  • Copying and running the generated script
  • Cleanup steps

The article provides a solution to clone the master user account with minimal permissions required, adhering to the principles of least privilege and security best practices.



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

May 24
2024
Migrate logins, database roles, users, and object-level permissions from Azure SQL Database to Amazon RDS for SQL Server
Jun 25
2024
Automate cross-account backup of Amazon RDS for Oracle including database parameter groups, option groups and security groups
Jul 18
2024
Configure password policy for Amazon RDS for SQL Server
Jul 18
2024
Amazon RDS for SQL Server supports password policies for SQL Server logins

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.