Class Credentials


  • public class Credentials
    extends Object
    A class representing a set of AWS credentials.
    • Constructor Detail

      • Credentials

        public Credentials()
        Default constructor
      • Credentials

        public Credentials​(byte[] accessKeyId,
                           byte[] secretAccessKey,
                           byte[] sessionToken)
        Constructor
        Parameters:
        accessKeyId - - access key id to use
        secretAccessKey - - secret access key to use
        sessionToken - - (optional) session token to use
    • Method Detail

      • getAccessKeyId

        public byte[] getAccessKeyId()
        gets the access key id of the credentials
      • getSecretAccessKey

        public byte[] getSecretAccessKey()
        gets the secret access key of the credentials
      • getSessionToken

        public byte[] getSessionToken()
        gets the session token of the credentials