Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Using apigee-edge-js Node js utilities to Load PEM file into kvm

Our on prem managment server is only accessible on https. Im trying to use the apigee-edge-js library to load a pem file into the kvm. I'm looking for guidance on how to connect to the management api. I'm trying to specify the Authorization header when setting the --M parameter for the management api parameter, this is the error:

[2018-Jul-06 14:07:36] start invalid option M

sample:

node examples/loadPemIntoKvm --M= -H "Authorization:Basic blahblahblah==" https://car0381bz006.myplace.com:9305/gbts/v1/managementAPI/environments/my-dev ----o=myplace --e=my-dev --m=my_KVM_JWT -F

The only thing I haven't tried is to put the encoded values in for the --u and --p parameters?

0 3 231
3 REPLIES 3