Clear-PASPrivateSSHKey

Clear-PASPrivateSSHKey

SYNOPSIS

Deletes all MFA caching SSH keys for all users.

SYNTAX

Clear-PASPrivateSSHKey [<CommonParameters>]

DESCRIPTION

Delete all MFA caching SSH keys used to connect to targets via PSM for SSH.

Requires the following permission in the Vault:

  • Reset Users’ Passwords.

Requires CyberArk Version 12.1 or higher.

EXAMPLES

EXAMPLE 1

Clear-PASPrivateSSHKey

Delete all MFA caching SSH keys

EXAMPLE 2

Clear-PASPrivateSSHKey -Verbose

Deletes all MFA caching SSH keys for all users and writes verbose details of the request to the console.

EXAMPLE 3

New-PASSession -Credential $Credential -BaseURI https://SomePVWAURL
Clear-PASPrivateSSHKey

Authenticates to the vault, then deletes all MFA caching SSH keys for all users on that vault.

PARAMETERS

CommonParameters

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

INPUTS

OUTPUTS

NOTES

https://pspas.pspete.dev/commands/Clear-PASPrivateSSHKey

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Delete%20all%20MFA%20caching%20SSH%20keys.htm