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
Copy file name to clipboardExpand all lines: VenafiPS/Public/New-VdcCertificate.ps1
+19-11Lines changed: 19 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,7 @@ function New-VdcCertificate {
4
4
Enrolls or provisions a new certificate
5
5
6
6
.DESCRIPTION
7
-
Enrolls or provisions a new certificate.
8
-
Prior to TLSPDC 22.1, this function is asynchronous and will always return success.
9
-
Beginning with 22.1, you can control this behavior.
10
-
See https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-Certificates-API-settings.php.
7
+
Enrolls or provisions a new certificate
11
8
12
9
.PARAMETERPath
13
10
The folder DN path for the new certificate.
@@ -68,8 +65,11 @@ function New-VdcCertificate {
68
65
See the example.
69
66
70
67
.PARAMETERTimeoutSec
71
-
Introduced in 22.1, this controls the wait time, in seconds, for a CA to issue/renew a certificate.
72
-
The default is 60 seconds.
68
+
Control the wait time, in seconds, for a CA to issue/renew a certificate.
69
+
Can be set globally in the product, https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-Certificates-API-settings.php.
70
+
Use this as an override to the global setting.
71
+
The product default of 0 will cause this function to return immediately, before the certificate has been created.
72
+
This property is useful if you are wanting to immediately access the certificate when New-VdcCertificate is finished, eg. to pipe to Export-VdcCertificate.
73
73
74
74
.PARAMETERPassThru
75
75
Return an object representing the newly created certificate.
@@ -83,7 +83,7 @@ function New-VdcCertificate {
83
83
None
84
84
85
85
.OUTPUTS
86
-
TppObject, if PassThru is provided
86
+
PSCustomObject, if PassThru is provided
87
87
If devices and/or applications were created, a 'Device' property will be available as well.
88
88
89
89
.EXAMPLE
@@ -114,6 +114,11 @@ function New-VdcCertificate {
0 commit comments