public class BasicIBMOAuthCredentials extends Object implements IBMOAuthCredentials
AwsCredentialsIdentity.BuilderIBMOAuthIdentity.Builder| Constructor and Description |
|---|
BasicIBMOAuthCredentials(String apiKey,
String serviceInstanceId)
Constructs a new BasicIBMOAuthCredentials object, with the specified IBM
api key service instance id.
|
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
Retrieve the AWS access key, used to identify the user interacting with services.
|
String |
apiKey()
Retrieve the IBM api key
|
String |
getIAMToken() |
String |
secretAccessKey()
Retrieve the AWS secret access key, used to authenticate the user interacting with services.
|
String |
serviceInstanceId()
Retrieve the IBM service instance id.
|
void |
setIAMToken(String token)
Retrieve the IAM Token used to authenticate request
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccountId, builder, createexpirationTime, providerNamebuilder, createpublic String apiKey()
IBMOAuthIdentityapiKey in interface IBMOAuthIdentitypublic String serviceInstanceId()
IBMOAuthIdentityserviceInstanceId in interface IBMOAuthIdentitypublic void setIAMToken(String token)
IBMOAuthIdentitysetIAMToken in interface IBMOAuthIdentitypublic String getIAMToken()
getIAMToken in interface IBMOAuthIdentitypublic String accessKeyId()
AwsCredentialsIdentityaccessKeyId in interface AwsCredentialsIdentitypublic String secretAccessKey()
AwsCredentialsIdentitysecretAccessKey in interface AwsCredentialsIdentityCopyright © 2026. All rights reserved.