Skip to content

Commit

Permalink
fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Jul 22, 2021
1 parent 771ccab commit c58cd1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.1.4
- Fix [#19](https://github.com/gdbarron/VenafiPS/issues/19), `Revoke-TppToken -AccessToken` not decrypting password

## 3.1.3
- Add `-Force` parameter to `Revoke-TppToken` and `Revoke-TppCertificate` to bypass confirmation prompt

Expand Down
2 changes: 1 addition & 1 deletion VenafiPS/Public/Revoke-TppToken.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function Revoke-TppToken {
}

$params.ServerUrl = $target = $AuthUrl
$params.Header = @{'Authorization' = 'Bearer {0}' -f $AccessToken }
$params.Header = @{'Authorization' = 'Bearer {0}' -f $AccessToken.GetNetworkCredential().Password }
}

'TppToken' {
Expand Down

0 comments on commit c58cd1f

Please sign in to comment.