Update-SPSecureStoreMasterKey

Secure Store Service 응용 프로그램의 마스터 키를 변경합니다.

Syntax

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

Description

cmdlet은 Update-SPSecureStoreApplicationServerKey Secure Store Service 애플리케이션의 마스터 키를 변경합니다.

다음과 같은 경우 마스터 키를 업데이트해야 합니다.

--서비스 애플리케이션의 새 인스턴스가 만들어지고 Secure Store 서비스 애플리케이션의 데이터베이스가 새 인스턴스이거나 비어 있습니다.

--마스터 키 또는 암호가 손상되었습니다.

--Security Guidelines을 사용하려면 암호 또는 키를 교체해야 합니다.

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

예제

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

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

이 예제에서는 지정된 서비스 응용 프로그램에 대한 새 마스터 키를 만듭니다.

매개 변수

-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 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Passphrase

보안 저장소 데이터베이스에 사용되는 암호를 지정합니다. 입력한 암호는 저장되지 않습니다. 암호는 기록하여 안전한 장소에 보관해야 합니다. 이 암호는 새 보안 저장소 서비스 서버를 추가하는 데 필요합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ServiceApplicationProxy

업데이트할 마스터 키가 포함된 보안 저장소 서비스 응용 프로그램의 프록시를 지정합니다.

Type:SPServiceApplicationProxyPipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019