Skip to content

Commit

Permalink
Update manifest and docs to 6.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Aug 8, 2024
1 parent d968c01 commit 2696439
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.4.1
- Fix `Import-VdcCertificate -Data` failure due to being converted to an array. [#290](https://github.com/Venafi/VenafiPS/issues/290)


## 6.4.0
- Add `Export-VdcVaultObject` to retrieve historical certificates. This function supports certificates, keys, and p12. [#280](https://github.com/Venafi/VenafiPS/issues/280)
- Add support in `New-VcConnector` for manifests from the simulator and 'full' ones which already have deployment details
Expand Down Expand Up @@ -708,5 +712,6 @@ This is a major release. Although every attempt has been made to be backwards c






4 changes: 2 additions & 2 deletions VenafiPS/VenafiPS.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Greg Brownstein
#
# Generated on: 07/08/2024
# Generated on: 08/08/2024
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'VenafiPS.psm1'

# Version number of this module.
ModuleVersion = '6.4.0'
ModuleVersion = '6.4.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.4.1
- Fix `Import-VdcCertificate -Data` failure due to being converted to an array. [#290](https://github.com/Venafi/VenafiPS/issues/290)


## 6.4.0
- Add `Export-VdcVaultObject` to retrieve historical certificates. This function supports certificates, keys, and p12. [#280](https://github.com/Venafi/VenafiPS/issues/280)
- Add support in `New-VcConnector` for manifests from the simulator and 'full' ones which already have deployment details
Expand Down Expand Up @@ -708,5 +712,6 @@ This is a major release. Although every attempt has been made to be backwards c






24 changes: 14 additions & 10 deletions docs/functions/Import-VdcCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ Import one or more certificates

### ByFile (Default)
```
Import-VdcCertificate -PolicyPath <String> -Path <String[]> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
Import-VdcCertificate -PolicyPath <String> -Path <String> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
[-PrivateKeyPassword <PSObject>] [-Reconcile] [-ThrottleLimit <Int32>] [-PassThru] [-VenafiSession <PSObject>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ByFileWithPrivateKey
```
Import-VdcCertificate -PolicyPath <String> -Path <String[]> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
Import-VdcCertificate -PolicyPath <String> -Path <String> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
-PrivateKey <String> -PrivateKeyPassword <PSObject> [-Reconcile] [-ThrottleLimit <Int32>] [-PassThru]
[-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ByDataWithPrivateKey
```
Import-VdcCertificate -PolicyPath <String> -Data <String[]> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
Import-VdcCertificate -PolicyPath <String> -Data <String> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
-PrivateKey <String> -PrivateKeyPassword <PSObject> [-Reconcile] [-ThrottleLimit <Int32>] [-PassThru]
[-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ByData
```
Import-VdcCertificate -PolicyPath <String> -Data <String[]> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
Import-VdcCertificate -PolicyPath <String> -Data <String> [-Name <String>] [-EnrollmentAttribute <Hashtable>]
[-PrivateKeyPassword <PSObject>] [-Reconcile] [-ThrottleLimit <Int32>] [-PassThru] [-VenafiSession <PSObject>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```
Expand All @@ -42,21 +42,25 @@ PowerShell v5 will execute sequentially and v7 will run in parallel.
### EXAMPLE 1
```
Import-VdcCertificate -PolicyPath \ved\policy\mycerts -Path c:\www.VenafiPS.com.cer
Import a certificate
```

Import a certificate

### EXAMPLE 2
```
gci c:\certs | Import-VdcCertificate -PolicyPath \ved\policy\mycerts
Import multiple certificates
```

Import multiple certificates.
On PS v7+, the certificates will be imported in parallel.

### EXAMPLE 3
```
Import-VdcCertificate -PolicyPath mycerts -Path (gci c:\certs).FullName
Import multiple certificates in parallel on PS v6+. \ved\policy will be appended to the policy path.
Import-VdcCertificate -PolicyPath mycerts -Data $certData
```

Import a certificate from data instead of a path

## PARAMETERS

### -PolicyPath
Expand All @@ -80,7 +84,7 @@ Path to a certificate file.
Provide either this or -Data.
```yaml
Type: String[]
Type: String
Parameter Sets: ByFile, ByFileWithPrivateKey
Aliases: FullName

Expand All @@ -96,7 +100,7 @@ Contents of a certificate to import.
Provide either this or -Path.
```yaml
Type: String[]
Type: String
Parameter Sets: ByDataWithPrivateKey, ByData
Aliases:

Expand Down

0 comments on commit 2696439

Please sign in to comment.