Package io.deephaven.extensions.s3
Interface Credentials
- All Known Subinterfaces:
AwsSdkV2Credentials
public interface Credentials
-
Method Summary
Modifier and TypeMethodDescriptionstatic Credentials
Anonymous credentials.static Credentials
Basic credentials with the specified access key id and secret access key.static Credentials
Default credentials provider used by the AWS SDK that looks for credentials at a number of locations as described inDefaultCredentialsProvider
static Credentials
profile()
Profile specific credentials that uses configuration and credentials files.static Credentials
Default credentials provider used by Deephaven which resolves credentials in the following order: If a profile name, config file path, or credentials file path is provided, useProfileCredentialsProvider
If not, check all places mentioned inDefaultCredentialsProvider
and fall back toAnonymousCredentialsProvider
-
Method Details
-
resolving
Default credentials provider used by Deephaven which resolves credentials in the following order:- If a profile name, config file path, or credentials file path is provided, use
ProfileCredentialsProvider
- If not, check all places mentioned in
DefaultCredentialsProvider
and fall back toAnonymousCredentialsProvider
- See Also:
-
ProfileCredentialsProvider
DefaultCredentialsProvider
AnonymousCredentialsProvider
- If a profile name, config file path, or credentials file path is provided, use
-
defaultCredentials
Default credentials provider used by the AWS SDK that looks for credentials at a number of locations as described inDefaultCredentialsProvider
- See Also:
-
DefaultCredentialsProvider
-
basic
Basic credentials with the specified access key id and secret access key.- Parameters:
accessKeyId
- the access key id, used to identify the usersecretAccessKey
- the secret access key, used to authenticate the user
-
anonymous
Anonymous credentials. This is useful when the S3 policy has been set to allow anonymous access. -
profile
Profile specific credentials that uses configuration and credentials files.- See Also:
-
ProfileCredentialsProvider
-