接口 BceCredentials
-
- 所有已知子接口:
BceSessionCredentials
public interface BceCredentialsProvides access to the BCE credentials used for accessing BCE services: BCE access key ID and secret access key. These credentials are used to securely sign requests to BCE services.A basic implementation of this interface is provided in
DefaultBceCredentials, but callers are free to provide their own implementation, for example, to load BCE credentials from an encrypted file.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringgetAccessKeyId()Returns the BCE access key ID for this credentials object.StringgetSecretKey()Returns the BCE secret access key for this credentials object.
-
-
-
方法详细资料
-
getAccessKeyId
String getAccessKeyId()
Returns the BCE access key ID for this credentials object.- 返回:
- the BCE access key ID for this credentials object.
-
getSecretKey
String getSecretKey()
Returns the BCE secret access key for this credentials object.- 返回:
- the BCE secret access key for this credentials object.
-
-