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

401 trying to get the EMG configuration

I am trying to run the very first EMG 2.0.0 configuration step:

$ sudo su -c "/usr/local/emg/cli/edgemicro configure --org xxxx --env dev --username yyyy --debug" emg

password:

deleted /home/emg/.edgemicro/hpcorp-cwp-dev-config.yaml

init config

file doesn't exist, setting up

checking for previously deployed proxies

listdeployments: {"organization":"xxxx","environment":"dev","baseuri":"https://api.enterprise.apigee.com","username":"yyyy","password":{},"debug":true,"asyncLimit":4}

Going to invoke "https://api.enterprise.apigee.com/v1/o/hpcorp-cwp/e/dev/deployments"

[Error: HTTP error 401]

The same error happens with the password passed explicitly on the command-line. I am using the same credentials (successfully) to log into https://enterprise.apigee.com/. What could be root cause of my problem?

1 6 520
6 REPLIES 6