unitelabs.cdk.cli.certificate

Attributes

  • Name
    config
    Type
    Value

    = Config()

    Description

Functions

  • @click.group()

    certificate() -> None

    Utility tool to handle certificates for TLS encryption.

  • @certificate.command()

    @click.option('--uuid', type=str, default=config.sila_server.get('uuid', None), required=True, help="The SiLA server's uuid.")

    @click.option('--host', type=str, default=lambda: config.sila_server.get('host', '0.0.0.0'), help="The SiLA server's host address.")

    @click.option('--target', '-t', type=str, default='.', help='The output directory in which to store the certificate files.')

    generate(uuid : str, host : str, target : str) -> None

    Generates a new self-signed certificate according to the SiLA 2 specification.

    Parameters

    • Name
      uuid
      Type
      str
      Default
      Description

    • Name
      host
      Type
      str
      Default
      Description

    • Name
      target
      Type
      str
      Default
      Description

Copyright © 2024