Set-ADFSCertSharingContainer
Set-ADFSCertSharingContainer
Sets the account that is used for sharing managed certificates in a federation server farm.
Syntax
Set-ADFSCertSharingContainer [-ServiceAccount <string>] [-Confirm] [-WhatIf] [<CommonParameters>]
ServiceAccount
Confirm
WhatIf
Detailed Description
The Set-ADFSCertSharingContainer cmdlet sets the service account that is used for sharing the private keys of certificates that Active Directory Federation Services (AD FS) 2.0 generates and manages.
Parameters
ServiceAccount
Specifies the service account to use for sharing private keys.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Confirm
Prompts you for confirmation before executing the command.
Default Value: **
Data Type: SwitchParameter
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
WhatIf
Describes what would happen if you executed the command without actually executing the command.
Default Value: **
Data Type: SwitchParameter
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Input Type
None
Return Type
None
Notes
- AD FS 2.0 does not share private keys in a federation server farm for administrator-specified certificates, such as certificates that a certification authority (CA) issues.
Examples
-------------------------- EXAMPLE 1 --------------------------
Command Prompt: C:\PS>
Set-ADFSCertSharingContainer -ServiceAccount fabrikam\svcacct
Description
-----------
Sets the certificate sharing container to use the Fabrikam service account.
See Also
Reference
Add-ADFSCertificate
Get-ADFSCertificate
Remove-ADFSCertificate
Update-ADFSCertificate