Update-SPODataEncryptionPolicy
汇报异地租户的客户加密状态。
语法
Update-SPODataEncryptionPolicy
[-KeyVaultName] <String>
[-KeyName] <String>
[-KeyVersion] <Guid>
[-KeyType] <CustomerKeyVaultKeyType>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
使用 Update-SPODataEncryptionPolicy cmdlet 更新异地租户的客户加密状态。 有关详细信息,请参阅使用客户密钥控制Office 365中的数据
示例
示例 1
Update-SPODataEncryptionPolicy -KeyVaultName <ReplacementKeyVaultName> -KeyName <ReplacementKeyName> -KeyVersion <ReplacementKeyVersion> -KeyType Primary
此示例更新与 SharePoint Online 一起使用的 DEP,并OneDrive for Business开始使用新密钥
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyName
密钥的名称
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyType
键的类型,可能的值是
- 主
- 辅助
Type: | CustomerKeyVaultKeyType |
Accepted values: | Primary, Secondary |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyVaultName
Azure 密钥保管库名称的名称
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyVersion
密钥的版本
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
输出
System.Object