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

Get-RDMEntryPrivateKeyCertificateData

Synopsis

Get the embedded SSH certificate data from an entry

Syntax

ID

Get-RDMEntryPrivateKeyCertificateData [-ID] <guid> [-AsPlainText] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

InputObject

Get-RDMEntryPrivateKeyCertificateData [-InputObject] <PSConnection> [-AsPlainText]
 [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Get the embedded SSH certificate data from an entry. This cmdlet only works when the certificate type is set to 'Data' (embedded). For file-based certificates, access the PrivateKeyCertificateFileName property directly on the PSConnection object. Required permissions: Edit and Reveal password.

Examples

Example 1

PS C:\> Get-RDMEntry -Name MySshEntry | Get-RDMEntryPrivateKeyCertificateData

Get the certificate data as SecureString

Example 2

Get the certificate data as plain text

Example 3

Get certificate data by entry ID

Parameters

-AsPlainText

Return certificate data as plain text instead of SecureString

-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

-InputObject

Entry to get certificate data from

-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.

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

PSConnection object of the entry obtained from Get-RDMEntry

Outputs

System.Security.SecureString

Certificate data as SecureString (default)

System.String

Certificate data as plain text when -AsPlainText is used

Notes

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

Last updated

Was this helpful?