Open ScottChapman opened 7 years ago
I am also very interested in using the Bx API Key or at least the CF bearer auth token for authentication. I found out, that with
Apps.setToken(token);
return Apps.getApps();
you can replace token with your bearer token. You need to generate your token with bx cf oauth-token an then creating the following object:
{token_type: 'bearer', access_token: token}
This object replaces the token above
Is it possible to use a Bluemix APIKey instead of the actual username/password for the bluemix account? Don't really want to codify those...