drop encryption key

Description

Allows key owners to drop the named encryption key.

Syntax

drop encryption key [[database.[owner].]keyname

Parameters

database

is the name of the database

owner

is the owner

keyname

is the name of the key

Examples

Example 1

Drops the encryption key cc_key:

drop encryption key cust.dbo.cc_key

Usage

Permissions

The key owner and the System Security Officer can drop encryption keys.

Auditing

Values in event and extrainfo columns of sysaudits are:

Event

Audit option

Command or access audited

Information in extrainfo

109

drop encryption key

See also

create encryption key, alter encryption key, sp_encryption, sp_help.