Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ogaudefroy/sp_tde
Some stored procedures to enable/disable Transparent Data Encryption in SQL Server
https://github.com/ogaudefroy/sp_tde
sql-server stored-procedures transparent-data-encryption
Last synced: 8 days ago
JSON representation
Some stored procedures to enable/disable Transparent Data Encryption in SQL Server
- Host: GitHub
- URL: https://github.com/ogaudefroy/sp_tde
- Owner: ogaudefroy
- License: mit
- Created: 2016-11-23T21:06:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-25T14:52:49.000Z (about 8 years ago)
- Last Synced: 2024-11-23T04:16:07.830Z (2 months ago)
- Topics: sql-server, stored-procedures, transparent-data-encryption
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sp_tde
Some stored procedures to enable/disable Transparent Data Encryption in SQL Server## sp_tde_create_dmk
Creates the database master key with password encryption.
Usage: `exec sp_tde_create_dmk '98498aezaS'`## sp_tde_drop_dmk
Drops the database master key
Usage: `exec sp_tde_drop_dmk`## sp_tde_create_certificate
Creates a certificate to encrypt the database
Usage: `exec sp_tde_create_certificate 'SampleCertificateName' 'SampleCertificateSubject'`## sp_tde_drop_certificate
Drops a certificate stored in sys.certificates
Usage: `exec sp_drop_certififacte 'SampleCertificateName'`## sp_tde_create_dek
Creates a database encryption key based on the specifed certificate.
Usage: `exec sp_tde_create_dek 'MyDataBase'`## sp_tde_drop_dek
Creates a database encryption key based on the specifed certificate.
Usage: `exec sp_tde_drop_dek 'MyDataBase'`## sp_tde_enable
Turns on transparent data encryption on the specified database and encrypts its content with its configured database encryption key.
Polls the Encryption process and displays percentage progress.
Usage: `exec sp_tde_disable 'MyDataBase'`## sp_tde_disable
Turns off transparent database encryption on the specified database and decrypts its content with its configured database encryption key.
Polls the decryption process and displays percentage progress.
Usage: `exec sp_tde_disable 'MyDataBase'`