name
The VARCHAR (128) name for the new secure feature key. This argument cannot be NULL or an empty string.
auth_key
The CHAR (128) case-sensitive authorization key for the secure feature key. The authorization key must be a non-empty
string of at least six characters.
features
The LONG VARCHAR comma-separated list of secure features that the new key can enable.
Specifying - before a feature means that the feature is not re-enabled when the secure feature key is set.
This procedure creates a new secure feature key that can be given to any user. The SYSTEM secure feature key is created by
using the -sk database server option.
In order for the following example to work, the server must be started with the option: -sk securefkey.
This example enables the SYSTEM secure feature set which includes MANAGE_KEYS, creates a new secure feature key called MYSET
with case-sensitive authorization key securemyset, and then uses sp_list_secure_feature_keys to obtain a list of the currently
defined secure feature keys: