@InterfaceAudience.Private @InterfaceStability.Unstable public class STSClientFactory extends Object
| Constructor and Description |
|---|
STSClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClientBuilder |
builder(org.apache.hadoop.conf.Configuration conf,
String bucket,
com.amazonaws.auth.AWSCredentialsProvider credentials,
String stsEndpoint,
String stsRegion)
Create the builder ready for any final configuration options.
|
public static com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClientBuilder builder(org.apache.hadoop.conf.Configuration conf,
String bucket,
com.amazonaws.auth.AWSCredentialsProvider credentials,
String stsEndpoint,
String stsRegion)
throws IOException
conf - Configuration to act as source of options.bucket - Optional bucket to use to look up per-bucket proxy secretscredentials - AWS credential chain to usestsEndpoint - optional endpoint "https://sns.us-west-1.amazonaws.com"stsRegion - the region, e.g "us-west-1"build()IOException - problem reading proxy secretsCopyright © 2008–2021 Apache Software Foundation. All rights reserved.