![JAR search and dependency download from the Maven repository](/logo.png)
com.netease.cloud.auth.Credentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nos-sdk-java-publiccloud Show documentation
Show all versions of nos-sdk-java-publiccloud Show documentation
nos java sdk to the Central Repository
The newest version!
package com.netease.cloud.auth;
/**
* Provides access to the credentials used for accessing services: access key ID
* and secret access key. These credentials are used to securely sign requests
* to services.
*
* A basic implementation of this interface is provided in
* {@link BasicCredentials}, but callers are free to provide their own
* implementation, for example, to load credentials from an encrypted file.
*
*/
public interface Credentials {
/**
* Returns the access key ID for this credentials object.
*
* @return The access key ID for this credentials object.
*/
public String getAccessKeyId();
/**
* Returns the secret access key for this credentials object.
*
* @return The secret access key for this credentials object.
*/
public String getSecretKey();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy