Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Transparent Data Encryption (TDE) helps protect against the threat of malicious activity by performing real-time encryption and decryption of the database, associated backups, and transaction log files at rest without requiring changes to the application.
TDE encrypts the storage of an entire database by using a symmetric key called the database encryption key. The database encryption key is protected by a built-in server certificate. The built-in server certificate is unique for each Azure server. Azure automatically rotates these certificates at least every 90 days. For a general description of TDE, see Transparent Data Encryption (TDE).
To enable TDE for an Azure database that's storing the data migrated from a Stretch-enabled SQL Server database, do the following things:
Connect to the master database on the Azure server hosting the database using a login that is an administrator or a member of the dbmanager role in the master database
Execute the following statement to encrypt the database.
ALTER DATABASE [database_name] SET ENCRYPTION ON;
To disable TDE for an Azure database that's storing the data migrated from a Stretch-enabled SQL Server database, do the following things:
Connect to the master database using a login that is an administrator or a member of the dbmanager role in the master database
Execute the following statement to encrypt the database.
ALTER DATABASE [database_name] SET ENCRYPTION OFF;
To verify encryption status for an Azure database that's storing the data migrated from a Stretch-enabled SQL Server database, do the following things:
Connect to the master or instance database using a login that is an administrator or a member of the dbmanager role in the master database
Execute the following statement to encrypt the database.
SELECT [name], [is_encrypted] FROM sys.databases;
A result of 1
indicates an encrypted database, 0
indicates a non-encrypted database.