File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,9 @@ If you have more than one plan, you can use `CredentialUtils` to get the service
89
89
90
90
Watson services are migrating to token-based Identity and Access Management (IAM) authentication.
91
91
92
- As of ` v9.2.1 ` the preferred approach of initializing an authenticator is by using the builder pattern.
93
- The main reason is to give us flexibility to add new properties to the authenticator in the future if and when needed,
94
- and to make it easier for users to construct an authenticator instance using the precise set of properties they need to
95
- set for their use-case rather than being forced to use one of the multi-arg constructors (i.e. the one that most closely
96
- matches their requirements).
92
+ As of ` v9.2.1 ` , the preferred approach of initializing an authenticator is the builder pattern. This pattern supports
93
+ constructing the authenticator with only the properties that you need. Also, if you're authenticating to a Watson service
94
+ on Cloud Pak for Data that supports IAM, you must use the builder pattern.
97
95
98
96
- You can initialize the authenticator with either of the following approaches:
99
97
- In the builder of the authenticator (builder pattern).
You can’t perform that action at this time.
0 commit comments