A credential gives access details to the S3 storage resource so LOGIQ can drain the logs to your S3 compatible persistent store.
A credential is referenced in the destination section. For e.g.
destinations:-name: t_webserverss3:bucket: productionprefix: webservers/credential: productiongroupings:-name: Environmentvalue: Production-name: Tiervalue: Web
One or more credentials can be defined using the "credentials" keyword.
credentials:- s3:name: productionsecret_key: wJalrXUtnFA9I/K7BDENA/bPxRfiCYEXNMPLEKEYaccess_key: AKIAIOSFODNN7EXAMPLE
The attributes for defining a single credential are defined below.
The "s3" keyword is used to specify credentials for any S3/S3 compatible object store.
Every credential requires a unique name. It is referenced by this name in the configuration file when specified in a destination. The "name" keyword is used to specify the name for the credential.
The "secret_key" keyword provides a secret or password that is part of the Access key used by the LOGIQ server to sign the request when it uses the S3 SDK to connect to an S3 compatible service.
The "access_key" keyword provides an access or user identifier that is part of the Access key used by the LOGIQ server to sign the request when it used the S3 SDK to connect to an S3 compatible service.