This catalog view returns information about encryption keys that are open in the current session.
ID of the database that contains the key.
Name of the database that contains the key.
ID of the key. The ID is unique within the database.
Name of the key. Unique within the database.
GUID of the key. Unique within the database.
Date and time when the key was opened.
1 if the key is valid in metadata. 0 if the key is not found in metadata.
In SQL Server 2005 and later versions, the visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.