Remove-AzServiceFabricClientCertificate
拿掉用戶端憑證或憑證主體名稱(s),以用於對叢集進行客戶端驗證。
語法
Remove-AzServiceFabricClientCertificate
[-ResourceGroupName] <String>
[-Name] <String>
-CommonName <String>
-IssuerThumbprint <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzServiceFabricClientCertificate
[-ResourceGroupName] <String>
[-Name] <String>
-Thumbprint <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzServiceFabricClientCertificate
[-ResourceGroupName] <String>
[-Name] <String>
-ClientCertificateCommonName <PSClientCertificateCommonName[]>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzServiceFabricClientCertificate
[-ResourceGroupName] <String>
[-Name] <String>
[-AdminClientThumbprint <String[]>]
[-ReadonlyClientThumbprint <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
使用 Remove-AzServiceFabricClientCertificate 移除用戶端憑證(s) 或憑證主體名稱(s),以用於對叢集進行客戶端驗證。
範例
範例 1
Remove-AzServiceFabricClientCertificate -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -Thumbprint 5F3660C715EBBDA31DB1FFDCF508302348DE8E7A
此命令會從叢集中移除指紋為 '5F3660C715EBBDA31DB1FFDCF508302348DE8E7A' 的用戶端憑證。
參數
-AdminClientThumbprint
指定只有系統管理員許可權的客戶端憑證指紋
類型: | String[] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-ClientCertificateCommonName
指定用戶端一般名稱、簽發者指紋和驗證類型
類型: | PSClientCertificateCommonName[] |
別名: | CertCommonName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-CommonName
指定客戶端憑證一般名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-IssuerThumbprint
指定客戶端憑證簽發者的指紋
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
指定叢集的名稱
類型: | String |
別名: | ClusterName |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ReadonlyClientThumbprint
指定只有唯讀許可權的客戶端憑證指紋
類型: | String[] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Thumbprint
指定客戶端憑證指紋
類型: | String |
別名: | ClientCertificateThumbprint |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
String[]