Skip to content

Commit 21c9790

Browse files
committed
refactor: Refactored bluemix to cloud.ibm
1 parent 34981d5 commit 21c9790

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Some services use token-based Identity and Access Management (IAM) authenticatio
103103
You supply either an IAM service **API key** or an **access token**:
104104

105105
- Use the API key to have the SDK manage the lifecycle of the access token. The SDK requests an access token, ensures that the access token is valid, and refreshes it if necessary.
106-
- Use the access token if you want to manage the lifecycle yourself. For details, see [Authenticating with IAM tokens](https://console.bluemix.net/docs/services/watson/getting-started-iam.html). If you want to switch to API key, in a coroutine, override your stored IAM credentials with an IAM API key and yield until the credentials object `HasIamTokenData()` returns `true`.
106+
- Use the access token if you want to manage the lifecycle yourself. For details, see [Authenticating with IAM tokens](https://cloud.ibm.com/docs/services/watson?topic=watson-iam). If you want to switch to API key, in a coroutine, override your stored IAM credentials with an IAM API key and yield until the credentials object `HasIamTokenData()` returns `true`.
107107

108108
#### Supplying the IAM API key
109109
```cs
@@ -114,7 +114,7 @@ string versionDate = "<service-version-date>";
114114
IEnumerator TokenExample()
115115
{
116116
// Create IAM token options and supply the apikey. IamUrl is the URL used to get the
117-
// authorization token using the IamApiKey. It defaults to https://iam.bluemix.net/identity/token
117+
// authorization token using the IamApiKey. It defaults to https://iam.cloud.ibm.com/identity/token
118118
TokenOptions iamTokenOptions = new TokenOptions()
119119
{
120120
IamApiKey = "<iam-api-key>",
@@ -484,5 +484,5 @@ We'd love to highlight cool open-source projects that use this SDK! If you'd lik
484484
[latest_release_core]: https://github.com/IBM/unity-sdk-core/releases/latest
485485
[get_unity]: https://unity3d.com/get-unity
486486
[documentation]: https://watson-developer-cloud.github.io/unity-sdk/
487-
[ibm-cloud-onboarding]: http://console.bluemix.net/registration?target=/developer/watson&cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Unity
488-
[watson-dashboard]: https://console.bluemix.net/dashboard/apps?category=watson
487+
[ibm-cloud-onboarding]: https://cloud.ibm.com/registration?target=/developer/watson&cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Unity
488+
[watson-dashboard]: https://cloud.ibm.com/

0 commit comments

Comments
 (0)