Description: Required option. The parameters of the gcp_auth_header_params() option are passed directly to the module that will authenticate syslog-ng PE to the Google server through the OAuth2.0 protocol. The gcp_auth_header_params() option has the following parameters:
ca-dir() | |
Accepted values: | directory name |
Default: | none |
NOTE: At least one of the ca-dir() or ca-file() parameters of the gcp_auth_header_params() option is required. Description: Name of a directory, that contains a set of trusted CA certificates in PEM format. The CA certificate files have to be named after the 32-bit hash of the subject's name. This naming can be created using the c_rehash utility in OpenSSL. |
ca-file() | |
Accepted values: | Filename |
Default: |
none |
NOTE: At least one of the ca-dir() or ca-file() parameters of the gcp_auth_header_params() option is required. Description: Name of a file that contains an X.509 CA certificate (or a certificate chain) in PEM format. The syslog-ng PE application uses this certificate to validate the certificate of the HTTPS server. If the file contains a certificate chain, the file must begin with the certificate of the host, followed by the CA certificate that signed the certificate of the host, and any other signing CAs in order. |
scope() | |
Type: | OAuth 2.0 Scope |
Default: | https://www.googleapis.com/auth/cloud-platform |
Description: A mechanism in OAuth 2.0 to limit an application's access to a user's account. For a detailed description of OAuth scopes, see OAuth Scopes. |
timeout() | |
Type: | number [seconds] |
Default: | 0 |
Description: The timeout of the individual requests during API key renewal. The default value of 0 means there is no timeout set. NOTE: The timeout() value is only used for authentication purposes, and it is independent from log message delivery. | |