❯ Get-Secret -Name 'Some secret' -AsPlainText -Vault lastpass -Verbose
VERBOSE: Invoking command Get-SecretInfo on module SecretManagement.LastPass.Extension
VERBOSE: Secret information was successfully retrieved from vault lastpass.
VERBOSE: Invoking command Get-Secret on module SecretManagement.LastPass.Extension
VERBOSE: Secret Some secret was successfully retrieved from vault lastpass.
UserName Password
-------- --------
admin@somedomain.onmicrosoft.com System.Security.SecureString
For some reason I am unable to retrieve Lastpass secrets as plain text. Can someone reproduce the issue, or is it an error on my side?
❯ gmo *Secret* | select name,version
Name Version
---- -------
Microsoft.PowerShell.SecretManagement 1.0.0
Microsoft.PowerShell.SecretStore 1.0.0
SecretManagement.LastPass 0.2.1
❯ $PSVersionTable
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
For some reason I am unable to retrieve Lastpass secrets as plain text. Can someone reproduce the issue, or is it an error on my side?