Update-SPSecureStoreApplicationServerKey

Microsoft SharePoint 서버의 키와 보안 저장소 마스터 키를 동기화합니다.

Syntax

Update-SPSecureStoreApplicationServerKey
      -Passphrase <String>
      -ServiceApplicationProxy <SPServiceApplicationProxyPipeBind>
      [-AssignmentCollection <SPAssignmentCollection>]
      [<CommonParameters>]

Description

cmdlet은 Update-SPSecureStoreApplicationServerKey SharePoint 서버의 키를 Secure Store 서비스 데이터베이스의 마스터 키와 동기화합니다.

다음과 같은 경우 서버 키를 업데이트해야 합니다.

--Secure Store 서비스 인스턴스를 실행할 새 SharePoint 서버가 팜에 조인됩니다. --서버에 저장된 키는 서버 또는 네트워킹 문제로 인해 현재 Secure Store 서비스 데이터베이스에 필요한 키가 아닙니다. --마스터 키가 업데이트되었지만 새 키를 전파하는 동안 하나 이상의 서버에서 이 프로세스가 실패합니다.

SharePoint 제품용 Windows PowerShell에 대한 사용 권한 및 최신 정보는 SharePoint Server Cmdlets를 참조하세요.

예제

---------------예제---------------

$newPassPhrase = "abcDEF123!"
$proxy = Get-SPServiceApplicationProxy | ?{$_.TypeName -eq 'Secure Store Service Application Proxy'}
Update-SPSecureStoreApplicationServerKey -ServiceApplicationProxy $proxy -Passphrase $newPassPhrase

이 예제에서는 SharePoint 서버의 서버 키 암호와 보안 저장소 서비스 데이터베이스의 마스터 키를 동기화합니다.

매개 변수

-AssignmentCollection

올바른 삭제를 위해 개체를 관리합니다. SPWeb 또는 SPSite와 같은 개체를 사용하는 경우 많은 양의 메모리를 사용할 수 있으며, Windows PowerShell 스크립트에서 이러한 개체를 사용하려면 올바른 메모리 관리가 필요합니다. SPAssignment 개체를 사용하면 개체를 하나의 변수에 지정하고 해당 개체가 필요한 시기가 지나면 개체를 삭제하여 메모리를 확보할 수 있습니다. SPWeb, SPSite 또는 SPSiteAdministration 개체를 사용하는 경우 지정 컬렉션 또는 Global 매개 변수가 사용되지 않으면 해당 개체가 자동으로 삭제됩니다.

Global 매개 변수가 사용되는 경우 모든 개체가 전역 저장소에 포함됩니다. 개체가 즉시 사용되지 않거나 Stop-SPAssignment 명령을 사용하여 삭제되지 않는 경우 메모리 부족 시나리오가 발생할 수 있습니다.

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Passphrase

보안 저장소 서비스 데이터베이스에 사용되는 암호를 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-ServiceApplicationProxy

동기화할 서버 키가 포함된 서비스 응용 프로그램의 프록시를 지정합니다.

Type:SPServiceApplicationProxyPipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition