Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 48e853b

Browse files
authored
Merge pull request #1940 from TheConstructor/patch-1
ALTER CERTIFICATE supports BINARY private key
2 parents 1839d27 + 470892d commit 48e853b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

docs/t-sql/statements/alter-certificate-transact-sql.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ALTER CERTIFICATE (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "06/18/2018"
4+
ms.date: "04/18/2019"
55
ms.prod: sql
66
ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw"
77
ms.reviewer: ""
@@ -43,7 +43,7 @@ ALTER CERTIFICATE certificate_name
4343
| WITH ACTIVE FOR BEGIN_DIALOG = [ ON | OFF ]
4444
4545
<private_key_spec> ::=
46-
FILE = 'path_to_private_key'
46+
[ FILE = 'path_to_private_key' | BINARY = private_key_bits ]
4747
| DECRYPTION BY PASSWORD = 'key_password'
4848
| ENCRYPTION BY PASSWORD = 'password'
4949
```
@@ -67,6 +67,11 @@ ALTER CERTIFICATE certificate_name
6767
FILE **='**_path\_to\_private\_key_**'**
6868
Specifies the complete path, including file name, to the private key. This parameter can be a local path or a UNC path to a network location. This file will be accessed within the security context of the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] service account. When you use this option, you must make sure that the service account has access to the specified file.
6969

70+
BINARY **='**_private\_key\_bits_**'**
71+
**Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] through [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].
72+
73+
Private key bits specified as binary constant. These bits can be in encrypted form. If encrypted, the user must provide a decryption password. Password policy checks are not performed on this password. The private key bits should be in a PVK file format.
74+
7075
DECRYPTION BY PASSWORD **='**_key\_password_**'**
7176
Specifies the password that is required to decrypt the private key.
7277

0 commit comments

Comments
 (0)