withKeySecret static method

AuthenticationMode withKeySecret(
  1. String accessKeyId,
  2. String accessKeySecret
)

SDK will authenticate with access key id access key secret to obtain authentication token.

  • accessKeyId The access key id

  • accessKeySecret The access key secret

Returns AuthenticationMode. Instance of AuthenticationMode configured to use key ID and secret

Implementation

static AuthenticationMode withKeySecret(String accessKeyId, String accessKeySecret) => $prototype.withKeySecret(accessKeyId, accessKeySecret);