public interface AwsSecurityCredentialsSupplier extends SerializableSupplier for retrieving AWS Security credentials for AwsCredentials to exchange for GCP access tokens.
Implements
SerializableMethods
getCredentials(ExternalAccountSupplierContext context)
public abstract AwsSecurityCredentials getCredentials(ExternalAccountSupplierContext context)Gets AWS security credentials.
| Parameter | |
|---|---|
| Name | Description |
context |
ExternalAccountSupplierContextrelevant 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)
public abstract String getRegion(ExternalAccountSupplierContext context)Gets the AWS region to use.
| Parameter | |
|---|---|
| Name | Description |
context |
ExternalAccountSupplierContextrelevant context from the calling credential. |
| Returns | |
|---|---|
| Type | Description |
String |
the AWS region that should be used for the credential. |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|