接口 BceCredentials

  • 所有已知子接口:
    BceSessionCredentials
    所有已知实现类:
    DefaultBceCredentials, DefaultBceSessionCredentials

    public interface BceCredentials
    Provides 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.

    • 方法详细资料

      • 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.