接口 | 说明 |
---|---|
Credentials |
Provides access to credentials used for accessing OSS, these credentials are
used to securely sign requests to OSS.
|
CredentialsFetcher | |
CredentialsProvider |
Abstract credentials provider that maintains only one user credentials.
|
RequestSigner |
类 | 说明 |
---|---|
BasicCredentials | |
CredentialsProviderFactory |
Credentials provider factory to share providers across potentially many
clients.
|
CustomSessionCredentialsFetcher | |
CustomSessionCredentialsProvider | |
DefaultCredentialProvider |
Default implementation of
CredentialsProvider . |
DefaultCredentials |
Default implementation of
Credentials . |
EnvironmentVariableCredentialsProvider |
EnvironmentVariableCredentialsProvider implementation that provides
credentials by looking at the: OSS_ACCESS_KEY_ID and
OSS_ACCESS_KEY_SECRET environment variables. |
HmacSHA1Signature |
Used for computing Hmac-SHA1 signature.
|
HmacSHA256Signature |
Used for computing Hmac-SHA256 signature.
|
HttpCredentialsFetcher | |
InstanceProfileCredentials | |
InstanceProfileCredentialsFetcher | |
InstanceProfileCredentialsProvider |
Credentials provider implementation that loads credentials from the Ali Cloud
ECS Instance Metadata Service.
|
ProfileConfigFile |
Loads the local OSS credential profiles from the standard location
(~/.oss/credentials), which can be easily overridden through the
OSS_CREDENTIAL_PROFILES_FILE environment variable or by
specifying an alternate credentials file location through this class'
constructor. |
ProfileConfigLoader | |
ProfileCredentialsProvider |
Credentials provider based on OSS configuration profiles.
|
PublicKey | |
ServiceSignature |
The interface to compute the signature of the data.
|
STSAssumeRoleSessionCredentialsProvider |
STSAssumeRoleSessionCredentialsProvider implementation that uses the STS
Security Token Service to assume a Role and create temporary, short-lived
sessions to use for authentication.
|
STSKeyPairSessionCredentialsProvider |
STSKeyPairSessionCredentialsProvider implementation that uses the RSA key
pair to create temporary, short-lived sessions to use for authentication.
|
SystemPropertiesCredentialsProvider |
SystemPropertiesCredentialsProvider implementation that provides
credentials by looking at the oss.accessKeyId and
oss.accessKeySecret Java system properties. |
异常错误 | 说明 |
---|---|
InvalidCredentialsException |
Copyright © 2019. All Rights Reserved.