Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
#70 swapped the description
  • Loading branch information
srl295 authored and yumaoka committed Apr 25, 2019
1 parent 0e710cb commit acc339e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
/*
* Copyright IBM Corp. 2015
* Copyright IBM Corp. 2015-2019
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -113,13 +113,14 @@ The Globalization Service Authentication specific credentials can be specified b

For IAM authentication, you supply either an IAM service **API key** or a **bearer token**.
- 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 fetches a new one when necessary.
- Use the access token if you want to manage the lifecycle yourself.
- Use the bearer token if you want to manage the lifecycle yourself.

The IAM specific credentials can be specified by following environment variables::

* __GP_IAM_API_KEY__: IAM endpoint (e.g. https://iam.cloud.ibm.com)
* __GP_IAM_API_KEY__: IAM API Key
* __GP_IAM_ENDPOINT__: IAM endpoint (e.g. https://iam.cloud.ibm.com)

* __GP_IAM_BEARER_TOKEN__: IAM Bearer token
* __GP_IAM_ENDPOINT__: IAM API Key

Please also refer Java Tutorials article
[Installing a Custom Resource Bundle as an Extension](https://docs.oracle.com/javase/tutorial/i18n/serviceproviders/resourcebundlecontrolprovider.html)
Expand Down

0 comments on commit acc339e

Please sign in to comment.