Update-SPODataEncryptionPolicy

汇报异地租户的客户加密状态。

语法

BYOK_MultipleParameters (默认值)

Update-SPODataEncryptionPolicy
    -KeyVaultName <String>
    -KeyName <String>
    -KeyVersion <Guid>
    -KeyType <CustomerKeyVaultKeyType>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

BYOK_Uri

Update-SPODataEncryptionPolicy
    -KeyVaultUri <Uri>
    -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 之前进行确认。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:cf

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KeyName

密钥的名称

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

BYOK_MultipleParameters
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KeyType

键的类型,可能的值是

  • 辅助

参数属性

类型:Microsoft.SharePoint.Client.CustomerKeyVaultKeyType
默认值:None
接受的值:Primary, Secondary, Availability
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KeyVaultName

Azure 密钥保管库名称的名称

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

BYOK_MultipleParameters
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KeyVaultUri

适用:SharePoint Online

Azure 密钥保管库的 URI

参数属性

类型:System.Uri
默认值:None
支持通配符:False
不显示:False

参数集

BYOK_Uri
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KeyVersion

密钥的版本

参数属性

类型:System.Guid
默认值:None
支持通配符:False
不显示:False

参数集

BYOK_MultipleParameters
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WhatIf

显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:无线

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object