From b3e27c8ef736acb33cdfeaf2d6de7fb62db176ce Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Wed, 17 Sep 2025 08:32:17 -0400 Subject: [PATCH] Updates for 10.7p1 Added Scope to the keycloak call. --- CHANGELOG.md | 10 ++++++++++ README.md | 1 - ZertoApiWrapper/Public/Invoke-ZertoRestRequest.ps1 | 5 ++++- ZertoApiWrapper/ZertoApiWrapper.psd1 | 2 +- version.txt | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33766c2..9652923 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project is transitioning to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.1.0] + +### Added + +* Added Support for Zerto 10.7u1 Virtual Appliance - You can now authenticate to Zerto Virtual Appliances and run the other functions of this module. + +### Updated + +* Updated `Invoke-ZertoRestRequest` function [help documentation](https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Install-ZertoVra.md) + ## [2.0.0] ### Added diff --git a/README.md b/README.md index 171243b..65b5674 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ All recent updates can now be tracked via the [Change Log](https://github.com/Ze ## TODO -* Support ZVM appliance (different connection flow) * JFLR Functionality * Create VPG (Per-VM modification and Backup Settings) * Edit VPG diff --git a/ZertoApiWrapper/Public/Invoke-ZertoRestRequest.ps1 b/ZertoApiWrapper/Public/Invoke-ZertoRestRequest.ps1 index 4b4c0f3..560162c 100644 --- a/ZertoApiWrapper/Public/Invoke-ZertoRestRequest.ps1 +++ b/ZertoApiWrapper/Public/Invoke-ZertoRestRequest.ps1 @@ -1,4 +1,6 @@ -<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #> +<# +.ExternalHelp ./en-us/ZertoApiWrapper-help.xml +#> function Invoke-ZertoRestRequest { [cmdletbinding()] param( @@ -64,6 +66,7 @@ function Invoke-ZertoRestRequest { 'username' = $credential.GetNetworkCredential().UserName 'password' = $credential.GetNetworkCredential().Password 'grant_type' = 'password' + 'scope' = 'openid' } $params = @{ diff --git a/ZertoApiWrapper/ZertoApiWrapper.psd1 b/ZertoApiWrapper/ZertoApiWrapper.psd1 index fa61373..aaede80 100644 --- a/ZertoApiWrapper/ZertoApiWrapper.psd1 +++ b/ZertoApiWrapper/ZertoApiWrapper.psd1 @@ -12,7 +12,7 @@ RootModule = '.\ZertoApiWrapper.psm1' # Version number of this module. - ModuleVersion = '2.0.1' + ModuleVersion = '2.1.0' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/version.txt b/version.txt index 38f77a6..7ec1d6d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.1 +2.1.0