You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `Get-VdcCertificate -IncludeStatus` to include `Status` and `StatusText` properties in the response. These correspond to the Certificate Status as seen in the WebAdmin Certificate -> Summary tab.
2
-
- Add `Export-VcReport` to export a Certificate Manager SaaS custom report either to a file or pipeline as a pscustomobject.
3
-
- Final round of VenafiSession improvements. All advanced use cases, eg. pipe from one environment to another, are now working across ps5/ps7 and parallel processing or not.
1
+
- Add `Set-VcIssuingTemplate` to update template settings. This is super helpful if you want to change the CA associated with your templates in bulk. Currently, CA product options are supported with additional product details to be supported in the future.
2
+
- Add `Get-VcIssuingTemplate -CertificateAuthority` to retrieve templates for a specific CA
3
+
- Add `Get-VcCertificateAuthority` and associated `Get-VcData -Type 'CertificateAuthority'`
4
+
- Rename TLSPDC/TLSPC to Certificate Manager Self-Hosted/SaaS in documentation/help
5
+
- Add `Get-ThreadJobAvailability` to look for and load module on demand and only PSv5 when using `Invoke-VenafiParallel`. This should slightly enhance module load speed and parallel processing on PSv7.
throw [System.ArgumentException]::new('Please run New-VenafiSession or provide a TLSPC key or TLSPDC token to -VenafiSession.')
36
+
throw [System.ArgumentException]::new('Please run New-VenafiSession or provide a Certificate Manager, SaaS key or Certificate Manager, Self-Hosted token to -VenafiSession.')
Copy file name to clipboardExpand all lines: VenafiPS/Private/Test-VenafiSession.ps1
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ function Test-VenafiSession {
4
4
Validate authentication session/key/token
5
5
6
6
.DESCRIPTION
7
-
Validate authentication session from New-VenafiSession, a TLSPC key, or TLSPDC token.
7
+
Validate authentication session from New-VenafiSession, a Certificate Manager, SaaS key, or Certificate Manager, Self-Hosted token.
8
8
9
9
.PARAMETERInvocationInfo
10
10
InvocationInfo from calling function
@@ -56,15 +56,15 @@ function Test-VenafiSession {
56
56
$VenafiSession=$script:VenafiSession
57
57
}
58
58
else {
59
-
throw'Please run New-VenafiSession or provide a TLSPC key or TLSPDC token.'
59
+
throw'Please run New-VenafiSession or provide a Certificate Manager, SaaS key or Certificate Manager, Self-Hosted token.'
60
60
}
61
61
}
62
62
63
63
switch ($VenafiSession.GetType().Name) {
64
64
'PSCustomObject' {
65
65
66
66
if ( -not$VenafiSession.Key-and-not$VenafiSession.Token ) {
67
-
throw"You must first connect to either TLSPC or a TLSPDC server with New-VenafiSession"
67
+
throw"You must first connect to either Certificate Manager, SaaS or a Certificate Manager, Self-Hosted server with New-VenafiSession"
68
68
}
69
69
70
70
# make sure the auth type and url we have match
@@ -75,7 +75,7 @@ function Test-VenafiSession {
75
75
76
76
if ( $Platform-eq'VDC' ) {
77
77
if ( $VenafiSession.Token.Expires-and$VenafiSession.Token.Expires-lt (Get-Date).ToUniversalTime() ) {
78
-
throw'TLSPDC token has expired. Execute New-VenafiSession and rerun your command.'
78
+
throw'Certificate Manager, Self-Hosted token has expired. Execute New-VenafiSession and rerun your command.'
79
79
}
80
80
}
81
81
@@ -93,7 +93,7 @@ function Test-VenafiSession {
93
93
}
94
94
95
95
Default {
96
-
throw"Unknown session '$VenafiSession'. Please run New-VenafiSession or provide a TLSPC key or TLSPDC access token."
96
+
throw"Unknown session '$VenafiSession'. Please run New-VenafiSession or provide a Certificate Manager, SaaS key or Certificate Manager, Self-Hosted access token."
0 commit comments