Skip to content

Commit

Permalink
Update manifest and docs to 3.5.0 ***NO_CI***
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Dec 6, 2021
1 parent 42d768d commit 602d35c
Show file tree
Hide file tree
Showing 11 changed files with 218 additions and 120 deletions.
46 changes: 23 additions & 23 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: 11/27/2021
# Generated on: 12/6/2021
#

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

# Version number of this module.
ModuleVersion = '3.5'
ModuleVersion = '3.5.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -69,27 +69,27 @@ PowerShellVersion = '5.1'
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'Add-TppCertificateAssociation', 'ConvertTo-TppGuid',
'ConvertTo-TppPath', 'Export-VenafiCertificate',
'Find-TppCertificate', 'Find-TppCodeSignEnvironment',
'Find-TppCodeSignProject', 'Find-TppCodeSignTemplate',
'Find-TppIdentity', 'Find-TppObject', 'Get-TppAttribute',
'Get-TppClassAttribute', 'Get-TppCodeSignConfig',
'Get-TppCodeSignEnvironment', 'Get-TppCodeSignProject',
'Get-TppCustomField', 'Get-TppIdentity', 'Get-TppIdentityAttribute',
'Get-TppObject', 'Get-TppPermission', 'Get-TppSystemStatus',
'Get-TppVersion', 'Get-TppWorkflowTicket', 'Get-VaasApplication',
'Get-VaasOrgUnit', 'Get-VenafiCertificate', 'Import-TppCertificate',
'Invoke-TppCertificatePush', 'Invoke-TppCertificateRenewal',
'Invoke-VenafiCertificateAction', 'Invoke-VenafiRestMethod',
'Move-TppObject', 'New-TppCapiApplication', 'New-TppCertificate',
'New-TppCodeSignProject', 'New-TppDevice', 'New-TppObject',
'New-TppPolicy', 'New-TppToken', 'New-VenafiSession', 'Read-TppLog',
'Remove-TppCertificate', 'Remove-TppCertificateAssociation',
'Remove-TppCodeSignEnvironment', 'Remove-TppCodeSignProject',
'Remove-TppPermission', 'Rename-TppObject', 'Revoke-TppCertificate',
'Revoke-TppToken', 'Set-TppAttribute', 'Set-TppCodeSignProjectStatus',
'Set-TppPermission', 'Set-TppWorkflowTicketStatus', 'Test-ModuleHash',
FunctionsToExport = 'Add-TppCertificateAssociation', 'Convert-TppObject',
'ConvertTo-TppGuid', 'ConvertTo-TppPath', 'Export-VenafiCertificate',
'Find-TppCertificate', 'Find-TppCodeSignEnvironment',
'Find-TppCodeSignProject', 'Find-TppCodeSignTemplate',
'Find-TppIdentity', 'Find-TppObject', 'Get-TppAttribute',
'Get-TppClassAttribute', 'Get-TppCodeSignConfig',
'Get-TppCodeSignEnvironment', 'Get-TppCodeSignProject',
'Get-TppCustomField', 'Get-TppIdentity', 'Get-TppIdentityAttribute',
'Get-TppObject', 'Get-TppPermission', 'Get-TppSystemStatus',
'Get-TppVersion', 'Get-TppWorkflowTicket', 'Get-VaasApplication',
'Get-VaasOrgUnit', 'Get-VenafiCertificate', 'Import-TppCertificate',
'Invoke-TppCertificatePush', 'Invoke-TppCertificateRenewal',
'Invoke-VenafiCertificateAction', 'Invoke-VenafiRestMethod',
'Move-TppObject', 'New-TppCapiApplication', 'New-TppCertificate',
'New-TppCodeSignProject', 'New-TppDevice', 'New-TppObject',
'New-TppPolicy', 'New-TppToken', 'New-VenafiSession', 'Read-TppLog',
'Remove-TppCertificate', 'Remove-TppCertificateAssociation',
'Remove-TppCodeSignEnvironment', 'Remove-TppCodeSignProject',
'Remove-TppPermission', 'Rename-TppObject', 'Revoke-TppCertificate',
'Revoke-TppToken', 'Set-TppAttribute', 'Set-TppCodeSignProjectStatus',
'Set-TppPermission', 'Set-TppWorkflowTicketStatus', 'Test-ModuleHash',
'Test-TppIdentity', 'Test-TppObject', 'Test-TppToken', 'Write-TppLog'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 3.5.0
- BREAKING CHANGE: change parameter `-NewName` to `-NewPath` in `Rename-TppObject` to allow moving an object in addition to renaming
- Add `Convert-TppObject` to change the class/type of an existing object
- Fix typos in examples for `Add-TppCertificateAssociation` and `Remove-TppCertificateAssociation`
- Set the default for `-Path` in `Find-TppObject` to \ved\policy. Running `Find-TppObject` without a path will now recursively search from \ved\policy.
- Add additional pipeline options to `Get-TppAttribute`
- Add help and examples to `Invoke-VenafiRestMethod`, [#48](https://github.com/gdbarron/VenafiPS/issues/48)
- Set VenafiSession default value in `Invoke-VenafiRestMethod`, [#47](https://github.com/gdbarron/VenafiPS/issues/47)

## 3.4.0
- Add `-All` option to `Get-TppAttribute` to get ALL effective attribute values for an object. This will provide the values as well as the path where the policy was applied
- Add getting policies (policy attributes) with `Get-TppAttribute`
Expand Down
4 changes: 2 additions & 2 deletions docs/functions/Add-TppCertificateAssociation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Optionally, you can push the certificate once the association is complete.

### EXAMPLE 1
```
Add-TppCertificateAssocation -CertificatePath '\ved\policy\my cert' -ApplicationPath '\ved\policy\my capi'
Add-TppCertificateAssociation -CertificatePath '\ved\policy\my cert' -ApplicationPath '\ved\policy\my capi'
```

Add a single application object association

### EXAMPLE 2
```
Add-TppCertificateAssocation -Path '\ved\policy\my cert' -ApplicationPath '\ved\policy\my capi' -PushCertificate
Add-TppCertificateAssociation -Path '\ved\policy\my cert' -ApplicationPath '\ved\policy\my capi' -PushCertificate
```

Add the association and push the certificate
Expand Down
83 changes: 83 additions & 0 deletions docs/functions/Convert-TppObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Convert-TppObject

## SYNOPSIS
Change the class/object type of an existing object

## SYNTAX

```
Convert-TppObject [-Path] <String> [-Class] <String> [[-VenafiSession] <VenafiSession>] [<CommonParameters>]
```

## DESCRIPTION
Change the class/object type of an existing object

## EXAMPLES

### EXAMPLE 1
```
Convert-TppObject -Path '\ved\policy\' -Class 'X509 Device Certificate'
```

Convert an object to a different type

## PARAMETERS

### -Path
Path to the object

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

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
```
### -Class
New class/type
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -VenafiSession
Session object created from New-VenafiSession method.
The value defaults to the script session object $VenafiSession.
```yaml
Type: VenafiSession
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: $script:VenafiSession
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
### Path
## OUTPUTS
### None
## NOTES
## RELATED LINKS
4 changes: 2 additions & 2 deletions docs/functions/Find-TppIdentity.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can specify individual identity types to search for or all
Find-TppIdentity -Name 'greg' -IncludeUsers
```

Find user identities with the name greg
Find only user identities with the name greg

### EXAMPLE 2
```
Expand Down Expand Up @@ -165,5 +165,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://github.com/gdbarron/VenafiPS/blob/main/VenafiPS/Public/Find-TppIdentity.ps1](https://github.com/gdbarron/VenafiPS/blob/main/VenafiPS/Public/Find-TppIdentity.ps1)
[https://docs.venafi.com/Docs/20.4SDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Identity-Browse.php?tocpath=Web%20SDK%7CIdentity%20programming%20interface%7C_____5](https://docs.venafi.com/Docs/20.4SDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Identity-Browse.php?tocpath=Web%20SDK%7CIdentity%20programming%20interface%7C_____5)
[https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Identity-Browse.php](https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Identity-Browse.php)
Loading

0 comments on commit 602d35c

Please sign in to comment.