Closed kavya498 closed 2 years ago
You are referring to the default URL in your link.
The correct way to provide your own URL for IAM is to provide it when building your own IAMTokenSource
. The URL can be set during the construction of said struct as TokenURL
https://github.com/IBM/keyprotect-go-client/blob/master/iam/iam.go#L99
Endpoint should not be hardcoded here
Request to provide ability to override iam endpoint