For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update-DSPamProvider

Synopsis

Update a PAM Provider with given values.

Syntax

GetByID

Update-DSPamProvider -ProviderID <guid> [-Name <string>]
 [-CheckoutApprovalMode <CheckoutApprovalMode>] [-CheckoutReasonMode <CheckoutReasonMode>]
 [-CheckoutTime <int>] [-AllowCheckoutOwnerAsApprover <int>] [-IncludeAdminsAsApprovers <int>]
 [-IncludeManagersAsApprovers <int>] [-AsLegacyResponse] [<CommonParameters>]

InputObject

Update-DSPamProvider -InputObject <PamProvider> [-AsLegacyResponse] [<CommonParameters>]

Description

Update a PAM Provider with given parameters. Goes through every parameter and check if key match a key in current Provider data. If so, updates current Provider data and send 'PUT' web request.

Examples

Example 1

Update the name of the provider whose ID is '00000000-0000-0000-0000-000000000000'

Example 2

Add all groups of the 'Test' organizational unit in the JIT settings' authorized groups of the provider 'MyDomainUserProvider' and save the modification

Example 3

Add all groups whose name starts with 'group' in the JIT settings' authorized groups of the provider 'MyAzureADUserProvider' and save the modification

Parameters

-AllowCheckoutOwnerAsApprover

Ignored

-AsLegacyResponse

In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.

-CheckoutApprovalMode

New checkout approval mode to assign the provider

-CheckoutReasonMode

New checkout reason mode to assign the provider

-CheckoutTime

New default checkout time in minutes to assign the provider

-IncludeAdminsAsApprovers

Ignored

-IncludeManagersAsApprovers

Ignored

-InputObject

Provider object obtained from Get-DSPamProvider

-Name

New name to assign to the provider

-ProviderID

ID of the provider to update

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Devolutions.Server.Pam.Dto.PamProvider

PAM provider object obtained from Get-DSPamProvider

Notes

For more information, type "Get-Help Update-DSPamProvider -detailed". For technical information, type "Get-Help Update-DSPamProvider -full".

Last updated

Was this helpful?