Package org.graylog.integrations.aws
Class AWSAuthFactory
java.lang.Object
org.graylog.integrations.aws.AWSAuthFactory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AWSAuthFactory
public AWSAuthFactory()
-
-
Method Details
-
create
public static software.amazon.awssdk.auth.credentials.AwsCredentialsProvider create(boolean isCloud, @Nullable String stsRegion, @Nullable String accessKey, @Nullable String secretKey, @Nullable String assumeRoleArn) Resolves the appropriate AWS authorization provider based on the input. If anaccessKey
andsecretKey
are provided, they will be used explicitly. If not, the default DefaultCredentialsProvider will be used instead. This will resolve the role/policy using Java props, environment variables, EC2 instance roles etc. See theDefaultCredentialsProvider
Javadoc for more information.
-