| title | sys.dm_cryptographic_provider_sessions (Transact-SQL) | ||||
|---|---|---|---|---|---|
| description | sys.dm_cryptographic_provider_sessions (Transact-SQL) | ||||
| author | rwestMSFT | ||||
| ms.author | randolphwest | ||||
| ms.date | 06/10/2016 | ||||
| ms.service | sql | ||||
| ms.subservice | system-objects | ||||
| ms.topic | reference | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
||||
| dev_langs |
|
[!INCLUDE SQL Server]
Returns information about open sessions for a cryptographic provider.
sys.dm_cryptographic_provider_sessions(session_identifier)
session_identifier
An integer indicating the sessions to be returned.
0 = Current connection only
1 = All cryptographic connections
| Column name | Data type | Description |
|---|---|---|
| provider_id | int | Identification number of the cryptographic provider. |
| session_handle | varbytes(8) | Cryptographic session handle. |
| identity | nvarchar(128) | Identity used to authenticate with the cryptographic provider. |
| spid | short | Session ID SPID of the connection. For more information, see @@SPID (Transact-SQL). |
Members of the public server role can use sys.dm_cryptographic_provider_sessions to return information about the current connection. To view all cryptographic connections, the CONTROL server permission is required.
Security Catalog Views (Transact-SQL)
Extensible Key Management (EKM)
CREATE CRYPTOGRAPHIC PROVIDER (Transact-SQL)
Encryption Hierarchy