When does tempdb get encrypted with Transparent Data Encryption? What configuration, etc, causes tempdb to be encrypted this way?
1 Answer
When you encrypt the first database in the instance, tempdb
will also be encrypted. As per this reference on TDE:
Transparent Data Encryption and the tempdb System Database
The tempdb system database will be encrypted if any other database on the instance of SQL Server is encrypted by using TDE.
This will be the case when you set ENCRYPTION ON
on a database.
-
1Microsoft doesn't seem to include information about which certificate is used for tempdb. (E.g. if you use a separate certificate to encrypt different database catalogs.)– GrangerCommented Oct 23, 2014 at 14:41
-
@Granger: While I don't know I have reason to believe the answer is "none of them".– JoshuaCommented Mar 19, 2023 at 22:24
tempdb
gets encrypted, too. Is that what you're getting at? The question is a bit unclear.