You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runtime API currently accepts either an apiKey or bearer access token for authorization.
In the future the API would like to only accept access tokens for authorization.
To make this transition we should update the client so that we call the IBM cloud API to exchange the provided API key for an access token. This access token can then be passed to the runtime API.
The access token would be passed in the Authorization header with the bearer key word. For example Authorization: bearer MY_ACCESS_TOKEN
What is the expected feature or enhancement?
The runtime API currently accepts either an apiKey or bearer access token for authorization.
In the future the API would like to only accept access tokens for authorization.
To make this transition we should update the client so that we call the IBM cloud API to exchange the provided API key for an access token. This access token can then be passed to the runtime API.
The access token would be passed in the
Authorization
header with the bearer key word. For exampleAuthorization: bearer MY_ACCESS_TOKEN
The following API from IBM cloud should be used to generate the access token from the API key https://test.cloud.ibm.com/apidocs/iam-identity-token-api#gettoken-apikey
This change would be for the cloud channel.
Acceptance criteria
The text was updated successfully, but these errors were encountered: