Class Credentials
- java.lang.Object
-
- software.amazon.awssdk.crt.auth.credentials.Credentials
-
public class Credentials extends Object
A class representing a set of AWS credentials.
-
-
Constructor Summary
Constructors Constructor Description Credentials()
Default constructorCredentials(byte[] accessKeyId, byte[] secretAccessKey, byte[] sessionToken)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getAccessKeyId()
gets the access key id of the credentialsbyte[]
getSecretAccessKey()
gets the secret access key of the credentialsbyte[]
getSessionToken()
gets the session token of the credentials
-
-
-
Constructor Detail
-
Credentials
public Credentials()
Default constructor
-
Credentials
public Credentials(byte[] accessKeyId, byte[] secretAccessKey, byte[] sessionToken)
Constructor- Parameters:
accessKeyId
- - access key id to usesecretAccessKey
- - secret access key to usesessionToken
- - (optional) session token to use
-
-