Interface AwsSecurityCredentialsSupplier (1.30.1)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface AwsSecurityCredentialsSupplierextendsSerializableSupplier for retrieving AWS Security credentials for AwsCredentials to exchange for GCP access tokens.
Implements
SerializableMethods
getCredentials(ExternalAccountSupplierContext context)
publicabstractAwsSecurityCredentialsgetCredentials(ExternalAccountSupplierContextcontext)Gets AWS security credentials.
| Parameter | |
|---|---|
| Name | Description |
context |
ExternalAccountSupplierContext relevant context from the calling credential. |
| Returns | |
|---|---|
| Type | Description |
AwsSecurityCredentials |
valid AWS security credentials that can be exchanged for a GCP access token. |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
getRegion(ExternalAccountSupplierContext context)
publicabstractStringgetRegion(ExternalAccountSupplierContextcontext)Gets the AWS region to use.
| Parameter | |
|---|---|
| Name | Description |
context |
ExternalAccountSupplierContext relevant context from the calling credential. |
| Returns | |
|---|---|
| Type | Description |
String |
the AWS region that should be used for the credential. |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|