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

Protect-RDMEntry

Synopsis

Seal an entry.

Syntax

ID

Protect-RDMEntry -ID <guid> [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

InputObject

Protect-RDMEntry -InputObject <PSConnection> [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

To seal entries, ensure that you are using a Devolutions Server workspace, as only this type supports the operation. Only Credential and Document entry types can be sealed. To unseal a sealed entry, use Unprotect-RDMSealedEntry.

Examples

Example 1

PS C:\> $entry = New-RDMEntry -Name 'EmergencyCredential' -Type 'Credential';
PS C:\> $entry = Set-RDMEntry -InputObject $entry -PassThru;
PS C:\> Protect-RDMEntry -InputObject $entry;

Create a new credential entry, save it, and seal it

Parameters

-Confirm

Prompts for confirmation before running the cmdlet.

-ForcePromptAnswer

Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:

  • Yes: Accept the prompt. Cover the OK and Automatic value.

  • No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.

  • Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.

-ID

ID of the entry to seal

-InputObject

Entry to seal

-VaultMode

Vault where the command will be applied. Three choices are offered: - Default: Current vault that has been set. - User: Vault specific to the current user. - Global: Global vault of the workspace.

-WhatIf

Shows what would happen if the cmdlet were to run. The cmdlet does not run.

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

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection

Entry to seal

Notes

For more information, type "Get-Help Protect-RDMEntry -detailed". For technical information, type "Get-Help Protect-RDMEntry -full".

Last updated

Was this helpful?