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

[Bug] Secret Server URL when there is a path segment causes commands to not function #39

Closed
wsmelton opened this issue Jan 5, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wsmelton
Copy link
Contributor

wsmelton commented Jan 5, 2021

Describe the bug

When you have a URL of https://server.company.local/secretserver the API call is not properly formatted and the command will either error with 401 or just not do anything.

Reported by Chad S.

To Reproduce
Steps to reproduce the behavior:

  1. PowerShell script:
$TSS = 'https://secre.lab.local/secretserver'
$session = New-TssSession -SecretServer $TSS -Credential $authCred
$setParams = @{
  TssSession = $session
  Id = 10
  Field = 'Notes'
  Value = "Updated the notes field on $(Get-Date)"
}
Set-TssSecret @setParams
  1. Error/issue observed:

It varies. Set command returns nothing, Get command returns the 401 error.

@wsmelton wsmelton added the bug Something isn't working label Jan 5, 2021
@wsmelton wsmelton added this to the 0.5 Release milestone Jan 5, 2021
@wsmelton wsmelton self-assigned this Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant