Package io.deephaven.extensions.s3
Interface Credentials
- All Known Subinterfaces:
AwsSdkV2Credentials
public interface Credentials
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CredentialsAnonymous credentials.static CredentialsBasic credentials with the specified access key id and secret access key.static CredentialsDefault credentials provider used by the AWS SDK that looks for credentials at a number of locations as described inDefaultCredentialsProviderstatic Credentialsprofile()Profile specific credentials that uses configuration and credentials files.static CredentialsDefault 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, useProfileCredentialsProviderIf not, check all places mentioned inDefaultCredentialsProviderand fall back toAnonymousCredentialsProviderstatic CredentialsSession credentials with the specified access key id, secret access key, and session token.
-
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
DefaultCredentialsProviderand fall back toAnonymousCredentialsProvider
- See Also:
-
ProfileCredentialsProviderDefaultCredentialsProviderAnonymousCredentialsProvider
- 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
-
session
Session credentials with the specified access key id, secret access key, and session token. This is useful when using temporary credentials from AWS STS or similar services.- Parameters:
accessKeyId- the access key id, used to identify the usersecretAccessKey- the secret access key, used to authenticate the usersessionToken- the session token, used for temporary credentials
-
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
-