HMAC authentication

IBMStreams com.ibm.streamsx.objectstorage Toolkit > com.ibm.streamsx.objectstorage 2.2.5 > com.ibm.streamsx.objectstorage > ObjectStorageScan > Supported Authentication Schemes > HMAC authentication

HMAC authentication can be configured with operator parameters or application configuration.

The priority of the HMAC authentication options is
  1. application configuration with property called cos.creds
  2. application configuration with properties called accessKeyID and secretAccessKey (ignored if option above is set)
  3. objectStorageUser (accessKeyID), objectStoragePassword (secretAccessKey) operator parameters (ignored if options above are set)

For S3-compliant COS use AccessKeyID for 'objectStorageUser' and SecretAccessKey for 'objectStoragePassword'.

The value of the application configuration property cos.creds should be a JSON in the format below:
{ "access_key_id": "7exampledonotusea6440da12685eee02", "secret_access_key": "8ddbece407exampledonotuse43r2d2586" }