com.netease.cloud.auth
public class BasicCredentials extends Object implements Credentials
Constructor and Description |
---|
BasicCredentials(String accessKey,
String secretKey)
Constructs a new BasicCredentials object, with the specified access key
and secret key.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessKeyId()
Returns the access key ID for this credentials object.
|
String |
getSecretKey()
Returns the secret access key for this credentials object.
|
public String getAccessKeyId()
Credentials
getAccessKeyId
in interface Credentials
public String getSecretKey()
Credentials
getSecretKey
in interface Credentials
Copyright © 2017. All Rights Reserved.