Skip to content

Commit c35a73f

Browse files
authored
Update README.md
1 parent a757b44 commit c35a73f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,16 @@ You supply either an IAM service **API key** or an **access token**:
107107
```cs
108108
IEnumerator TokenExample()
109109
{
110-
// Create IAM token options and supply the apikey.
110+
// Create IAM token options and supply the apikey. IamUrl is the URL used to get the
111+
// authorization token using the IamApiKey. It defaults to https://iam.bluemix.net/identity/token
111112
TokenOptions iamTokenOptions = new TokenOptions()
112113
{
113114
IamApiKey = "<iam-api-key>",
114-
IamUrl = "<service-url>"
115+
IamUrl = "<iam-url>"
115116
};
116117

117118
// Create credentials using the IAM token options
118-
_credentials = new Credentials(iamTokenOptions, "<service-url");
119+
_credentials = new Credentials(iamTokenOptions, "<service-url>");
119120
while (!_credentials.HasIamTokenData())
120121
yield return null;
121122

0 commit comments

Comments
 (0)