Good afternoon friends.
Just begun using Cloud Manager, so bear with me if this is a newby question!
If I start a Chrome window and navigate to:
------------------
------------------
The usual user, password modal appears and I can then input my email address and my Public API Key and it logs the clusters correctly.
So, the URL is correct, the user name and password work!
If I then curl to that address:
-----------------------------------
-----------------------------------
I get:
------------
{
"reason" : "Unauthorized",
"error" : 401,
"detail" : "You are not authorized for this resource."
}
--------------
What am I missing here? I also tried with a NODEJS script:
-------------
var https = require('https');
var options = {
port: 443,
path: '/api/public/v1.0/groups/<MY-GROUP-ID>/clusters',
method: 'GET',
auth: '<MY-EMAIL-ADDRESS>:<MY-PUBLIC-API-KEY>'
};
https.get(options, function(res) {
res.on('data', function(data) {
process.stdout.write(data);
});
});
----------------
Same result! I am loosing my mind here, any help would be very welcome! Thanks.