verification-service

command
v0.0.2411 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

Configuration

verification-services is expecting to find the following top-level entries in configuration:

  • verification (optional): verification service configuration. See below.
  • verifier (optional): verifier configuration. See below.
  • vts (optional): Veraison Trusted Services backend configuration. See trustedservices config.
  • logging (optional): Logging configuration. See logging config.

Verification service configuration

  • listen-addr (optional): the address, in the form <host>:<port> the verification server will be listening on. If not specified, this defaults to localhost:8080.
  • protocol (optional): the protocol that will be used. Defaults to "https" if not specified. Must be either "http" or "https".
  • cert: path to the x509 certificate to be used. Must be specified if protocol is "https"
  • cert-key: path to the key associated with the certificate specified in cert. Must be specified if protocol is "https"

Verifier configuration

The verifier currently doesn't support any configuration.

Config files

There are two config files in this directory:

  • config.yaml is designed to be used when running verification-service directly from this directory on the build host (i.e. outside docker). This is no longer supported (use the native deployment instead). It is kept for illustrative purposes only.
  • config-docker.yaml this is the file that is designed to be used when running inside the debug docker container. See debugging docker deployment. The debug command inside the debug container will automatically use it. If running the executable directly inside docker shell, rather than via the command, this file will need to be specified with --config option.

Example

verification:
  listen-addr: localhost:8888
  protocol: https
  cert: verification.crt
  cert-key: verification.key
vts:
  server-addr: 127.0.0.1:50051

Documentation

Overview

Copyright 2022-2024 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL