HMAC authentication
HMAC authentication can be configured with operator parameters or application configuration.
The priority of the HMAC authentication options is
- application configuration with property called cos.creds. 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" }
- application configuration with properties called accessKeyID and secretAccessKey (ignored if option above is set)
- objectStorageUser, objectStoragePassword operator parameters (ignored if options above are set)
For S3-compliant COS use objectStorageUser for the AccessKeyID and objectStoragePassword for the SecretAccessKey.