withKeySecret method - AuthenticationMode class - core.engine library - Dart API
withKeySecret
withKeySecret static method
- String accessKeyId,
- String accessKeySecret
SDK will authenticate with access key id access key secret to obtain authentication token.
-
accessKeyIdThe access key id -
accessKeySecretThe 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);