Skip to content

Commit

Permalink
Update manifest and docs to 6.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Jul 8, 2024
1 parent 581ccbd commit 417259d
Show file tree
Hide file tree
Showing 9 changed files with 182 additions and 15 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 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
- Fix `Add-VcCertificateAssociation` when piping certificate objects, [#284](https://github.com/Venafi/VenafiPS/issues/284)
- Fix examples in `Get-VcCertificate` and `Get-VdcCertificate` referencing old parameter names, [#279](https://github.com/Venafi/VenafiPS/issues/279)


## 6.3.2
- Add `Get-VdcCredential -IncludeDetail` to provide additional credential information eg. expiration, path to linked certificate, and more
- Add discrete parameters to `Set-VdcCredential` to simplify updating credentials; `-Value` will be deprecated. Add support for updating the Expiration and setting a Credential 'link' to an existing certificate in TLSPDC.
Expand Down Expand Up @@ -700,5 +707,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: 05/14/2024
# Generated on: 07/08/2024
#

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

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

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 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
- Fix `Add-VcCertificateAssociation` when piping certificate objects, [#284](https://github.com/Venafi/VenafiPS/issues/284)
- Fix examples in `Get-VcCertificate` and `Get-VdcCertificate` referencing old parameter names, [#279](https://github.com/Venafi/VenafiPS/issues/279)


## 6.3.2
- Add `Get-VdcCredential -IncludeDetail` to provide additional credential information eg. expiration, path to linked certificate, and more
- Add discrete parameters to `Set-VdcCredential` to simplify updating credentials; `-Value` will be deprecated. Add support for updating the Expiration and setting a Credential 'link' to an existing certificate in TLSPDC.
Expand Down Expand Up @@ -700,5 +707,6 @@ This is a major release. Although every attempt has been made to be backwards c






2 changes: 1 addition & 1 deletion docs/functions/Export-VdcCertificate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Export-VdcCertificate

## SYNOPSIS
Expoort certificate data from TLSPDC
Export certificate data from TLSPDC

## SYNTAX

Expand Down
104 changes: 104 additions & 0 deletions docs/functions/Export-VdcVaultObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Export-VdcVaultObject

## SYNOPSIS
Export an object from the vault

## SYNTAX

```
Export-VdcVaultObject [-ID] <Int32> [-OutPath] <String> [[-VenafiSession] <PSObject>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Export different object types from the vault.
The currently supported types are certificate, key, and PKCS12.
If the type is not supported, the base64 data will be returned as is.

## EXAMPLES

### EXAMPLE 1
```
Export-VdcVaultObject -ID 12345 -OutPath 'c:\temp'
```

Get vault object and save to a file

## PARAMETERS

### -ID
ID of the vault object to export

```yaml
Type: Int32
Parameter Sets: (All)
Aliases: VaultId

Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -OutPath
Folder path to save the certificate/key to.
The name of the file will be determined automatically.
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -VenafiSession
Authentication for the function.
The value defaults to the script session object $VenafiSession created by New-VenafiSession.
A TLSPDC token can also be provided.
If providing a TLSPDC token, an environment variable named VDC_SERVER must also be set.
```yaml
Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### ID
## OUTPUTS
### PSCustomObject if unhandled type, otherwise saves the object to a file
## NOTES
## RELATED LINKS
4 changes: 2 additions & 2 deletions docs/functions/Get-VcCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Get certificate information, either all available to the api key provided or by

### EXAMPLE 1
```
Get-VdcCertificate -CertificateId 'ca7ff555-88d2-4bfc-9efa-2630ac44c1f2'
Get-VdcCertificate -ID 'ca7ff555-88d2-4bfc-9efa-2630ac44c1f2'
```

Get certificate info for a specific cert
Expand Down Expand Up @@ -120,7 +120,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
### CertificateId
### ID
## OUTPUTS
### PSCustomObject
Expand Down
8 changes: 4 additions & 4 deletions docs/functions/Get-VdcCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Get certificate information, either all available to the api key provided or by

### EXAMPLE 1
```
Get-VdcCertificate -CertificateId '\ved\policy\mycert.com'
Get-VdcCertificate -ID '\ved\policy\mycert.com'
```

Get certificate info for a specific cert
Expand All @@ -50,14 +50,14 @@ Get certificate info for all certs

### EXAMPLE 3
```
Get-VdcCertificate -CertificateId '\ved\policy\mycert.com' -IncludePreviousVersions
Get-VdcCertificate -ID '\ved\policy\mycert.com' -IncludePreviousVersions
```

Get certificate info for a specific cert, including historical versions of the certificate.

### EXAMPLE 4
```
Get-VdcCertificate -CertificateId '\ved\policy\mycert.com' -IncludeTppPreviousVersions -ExcludeRevoked -ExcludeExpired
Get-VdcCertificate -ID '\ved\policy\mycert.com' -IncludeTppPreviousVersions -ExcludeRevoked -ExcludeExpired
```

Get certificate info for a specific cert, including historical versions of the certificate that are not revoked or expired.
Expand Down Expand Up @@ -197,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
### CertificateId
### ID
## OUTPUTS
### PSCustomObject
Expand Down
58 changes: 52 additions & 6 deletions docs/functions/New-VcConnector.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ Create a new connector

## SYNTAX

### FullManifest (Default)
```
New-VcConnector [-ManifestPath] <String> [-PassThru] [[-VenafiSession] <PSObject>]
New-VcConnector -ManifestPath <String> [-PassThru] [-VenafiSession <PSObject>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### FromSimulator
```
New-VcConnector -ManifestPath <String> -DeploymentImage <String> [-Maintainer <String>] [-PassThru]
[-VenafiSession <PSObject>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Create a new machine, CA, TPP, or credential connector

Expand All @@ -20,7 +27,7 @@ Create a new machine, CA, TPP, or credential connector
New-VcConnector -ManifestPath '/tmp/manifest.json'
```

Create a new connector
Create a new connector from a full manifest

### EXAMPLE 2
```
Expand All @@ -29,20 +36,59 @@ New-VcConnector -ManifestPath '/tmp/manifest.json' -PassThru

Create a new connector and return the newly created connector object

### EXAMPLE 3
```
New-VcConnector -ManifestPath '/tmp/manifest.json' -DeploymentImage 'docker.io/venafi/connector:latest@sha256:1234567890abcdef'
```

Create a new connector from a manifest from the simulator

## PARAMETERS

### -ManifestPath
Path to an existing manifest.
Ensure the manifest has the deployment element which is not needed when testing in the simulator.
See https://github.com/Venafi/vmware-avi-connector?tab=readme-ov-file#manifest for details.
Manifest can either be directly from the simulator or a full manifest with deployment element.
If the manifest is from the simulator, the DeploymentImage parameter is required.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -DeploymentImage
Path to the already uploaded docker image.
This parameter is only to be used for a manifest directly from the simulator.
```yaml
Type: String
Parameter Sets: FromSimulator
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Maintainer
Optional value to specify the organization, individual, email, location, or website responsible for maintaining the connector
This parameter is only to be used for a manifest directly from the simulator.
```yaml
Type: String
Parameter Sets: FromSimulator
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -74,7 +120,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ nav:
- ConvertTo-VdcPath: functions/ConvertTo-VdcPath.md
- Export-VcCertificate: functions/Export-VcCertificate.md
- Export-VdcCertificate: functions/Export-VdcCertificate.md
- Export-VdcVaultObject: functions/Export-VdcVaultObject.md
- Find-VcCertificate: functions/Find-VcCertificate.md
- Find-VcCertificateInstance: functions/Find-VcCertificateInstance.md
- Find-VcCertificateRequest: functions/Find-VcCertificateRequest.md
Expand Down

0 comments on commit 417259d

Please sign in to comment.