Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot search for secrets in PS v5 with module version 0.61.0 #393

Open
Knurmia opened this issue Feb 5, 2024 · 0 comments
Open

Cannot search for secrets in PS v5 with module version 0.61.0 #393

Knurmia opened this issue Feb 5, 2024 · 0 comments
Labels
bug Something isn't working triage needed new issues that are still in state of triage

Comments

@Knurmia
Copy link

Knurmia commented Feb 5, 2024

Verified issue does not already exist?

Yes

What error did you receive

Cannot convert value "@{<full data of the found secret}" value of type "System.Management.Automation.PSCustomObject"
to type "Thycotic.PowerShell.Secrets.Summary"."

Please run the command using -Verbose

VERBOSE: Command invocation: Search-TssSecret -SearchText:"secret name" -TssSession:TssSessionObject -Verbose:True
VERBOSE: Filters: filter.searchText="secret name"
VERBOSE: Performing the operation GET
/api/v1/secrets?sortBy[0].direction=asc&sortBy[0].name=Name&take=2147483647&filter.inc
ludeRestricted=true&filter.searchText="secret name"

Provide a test case or steps to reproduce

$session = New-TssSession -SecretServer "server name" -Credential $cred
Search-TssSecret -SearchText "secret name" -TssSession $session

Expected behavior

Returning the found secret

What Edition of Secret Server?

Professional

What version of Secret Server

Current GA release

What PowerShell host was used when producing this error

Windows PowerShell (powershell)

PowerShell Host Version

Name Value


PSVersion 5.1.19041.3930
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.3930
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

@Knurmia Knurmia added bug Something isn't working triage needed new issues that are still in state of triage labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needed new issues that are still in state of triage
Projects
None yet
Development

No branches or pull requests

1 participant