Copying KVM values from one environment to another -New Question - Contd.

Not applicable

Hi,

regarding:

https://community.apigee.com/questions/46946/copying-kvm-values-from-one-environment-to-another.html...

How can I use the grunt plugin for Apigee to copy env KVMs from one environment to another on Windows?

Solved Solved
1 2 165
1 ACCEPTED SOLUTION

I don't know of any capability in the grunt deploy plugin - assuming you are referring to this - that copies KVM values from one environment to another.

Since you are on Windows, you could rely on the Edge Powershell Module. There's a sample script that shows you how.

View solution in original post

2 REPLIES 2

I don't know of any capability in the grunt deploy plugin - assuming you are referring to this - that copies KVM values from one environment to another.

Since you are on Windows, you could rely on the Edge Powershell Module. There's a sample script that shows you how.

I am facing issues with Set-EdgeConnection script. It works fine for my PCI org for which the management URL is https://api.enterprise.apigee.com . But when I try to override the management url with -MgmtUri and specify my on-prem management server URL, I always get unauthorized error for valid credentials and the error is thrown when the script tries to get the token at below lines. Is there any extra info needed to be sent to the script.

stacktrace: at Get-EdgeNewAdminToken<Process>, C:\Program Files\WindowsPowerShell\Modules\PSApigeeEdge\0.2.17\Public\Get
-EdgeNewAdminToken.ps1: line 112