API Authentication
IBM Power for Google Cloud API Authentication
To work with the API, you must log in and authenticate yourself. Take note of your Authorization: Bearer <token>
and Cloud ID
. The Authorization: Bearer <token>
is short lived. It will need to be refreshed. Enter the following commands to log in and obtain the necessary information:
pcloud auth login
pcloud auth print-access-token
pcloud compute clouds list
You can also enter the following URL into any browser to obtain your accessToken
: https://service-broker-api.gpcloudtest.com/auth/v1/login
. Select your Google account and copy the accessToken
.