Skip to content

Commit 0e26756

Browse files
committed
Update manifest and docs to 6.13.3
1 parent 787a432 commit 0e26756

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.13.3
2+
- Add `New-VcCertificate -Wait` to wait for the certificate request to reach ternminal status, either success or failure. This is helpful when used with `-PassThru` to ensure a certificate is returned. [#383](https://github.com/Venafi/VenafiPS/issues/383).
3+
4+
15
## 6.13.2
26
- 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.
37
- Add `Get-VcIssuingTemplate -CertificateAuthority` to retrieve templates for a specific CA
@@ -944,5 +948,6 @@ This is a major release. Although every attempt has been made to be backwards c
944948

945949

946950

951+
947952

948953

VenafiPS/VenafiPS.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Greg Brownstein
55
#
6-
# Generated on: 02/18/2026
6+
# Generated on: 03/12/2026
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'VenafiPS.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '6.13.2'
15+
ModuleVersion = '6.13.3'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

docs/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.13.3
2+
- Add `New-VcCertificate -Wait` to wait for the certificate request to reach ternminal status, either success or failure. This is helpful when used with `-PassThru` to ensure a certificate is returned. [#383](https://github.com/Venafi/VenafiPS/issues/383).
3+
4+
15
## 6.13.2
26
- 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.
37
- Add `Get-VcIssuingTemplate -CertificateAuthority` to retrieve templates for a specific CA
@@ -944,5 +948,6 @@ This is a major release. Although every attempt has been made to be backwards c
944948

945949

946950

951+
947952

948953

docs/functions/New-VcCertificate.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Create certificate request
1010
New-VcCertificate -Application <String> [-IssuingTemplate <String>] -CommonName <String>
1111
[-Organization <String>] [-OrganizationalUnit <String[]>] [-City <String>] [-State <String>]
1212
[-Country <String>] [-KeySize <Int32>] [-KeyCurve <String>] [-SanDns <String[]>] [-SanIP <String[]>]
13-
[-SanUri <String[]>] [-SanEmail <String[]>] [-ValidUntil <DateTime>] [-Tag <String[]>] [-PassThru]
13+
[-SanUri <String[]>] [-SanEmail <String[]>] [-ValidUntil <DateTime>] [-Tag <String[]>] [-Wait] [-PassThru]
1414
[-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1515
```
1616

1717
### CSR
1818
```
1919
New-VcCertificate -Application <String> [-IssuingTemplate <String>] -Csr <String> [-SanDns <String[]>]
2020
[-SanIP <String[]>] [-SanUri <String[]>] [-SanEmail <String[]>] [-ValidUntil <DateTime>] [-Tag <String[]>]
21-
[-PassThru] [-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
21+
[-Wait] [-PassThru] [-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
2222
[<CommonParameters>]
2323
```
2424

@@ -79,6 +79,14 @@ Create certificate and return the created object
7979

8080
### EXAMPLE 8
8181
```
82+
New-VcCertificate -Application 'MyApp' -IssuingTemplate 'MSCA - 1 year' -CommonName 'app.mycert.com' -Wait -PassThru
83+
```
84+
85+
Create certificate and wait for it to reach a terminal state before returning the result.
86+
The cmdlet will poll the certificate request status until it has been issued or failed.
87+
88+
### EXAMPLE 9
89+
```
8290
New-VcCertificate -Application 'MyApp' -IssuingTemplate 'MSCA - 1 year' -Csr "-----BEGIN CERTIFICATE REQUEST-----\nMIICYzCCAUsCAQAwHj....BoiNIqtVQxFsfT+\n-----END CERTIFICATE REQUEST-----\n"
8391
```
8492

@@ -353,9 +361,26 @@ Accept pipeline input: False
353361
Accept wildcard characters: False
354362
```
355363
364+
### -Wait
365+
Wait for the certificate to be issued, or we hit a failure, before returning.
366+
If not specified, the cmdlet will return as soon as the certificate request is created, and the certificate can be retrieved later using Get-VcCertificate with the returned certificateRequestId.
367+
368+
```yaml
369+
Type: SwitchParameter
370+
Parameter Sets: (All)
371+
Aliases:
372+
373+
Required: False
374+
Position: Named
375+
Default value: False
376+
Accept pipeline input: False
377+
Accept wildcard characters: False
378+
```
379+
356380
### -PassThru
357381
Return the certificate request.
358-
If the certificate was successfully issued, it will be returned as the property 'certificate' along with 'certificateId'.
382+
If the certificate was successfully issued, the end entity certificate will be returned as the property 'certificate'.
383+
'certificateId' will also be included in the output when the certificate is issued and contain the IDs of all certificates in the chain.
359384
360385
```yaml
361386
Type: SwitchParameter

0 commit comments

Comments
 (0)