generate-consul-encryption-key
Description
Convenience frecklet to generate a consul encryption key.
This is a bit silly, as it installs consul if not available. In most cases, just use 'consul keygen' somewhere 'consul' is installed and be done with it.
Code
doc: short_help: Convenience frecklet to generate a consul encryption key. help: | Convenience frecklet to generate a consul encryption key. This is a bit silly, as it installs consul if not available. In most cases, just use 'consul keygen' somewhere 'consul' is installed and be done with it. frecklets: - consul-installed - execute-command: command: consul keygen register_target: consul_encryption_key
frecklecute generate-consul-encryption-key --help Usage: frecklecute generate-consul-encryption-key [OPTIONS] Convenience frecklet to generate a consul encryption key. This is a bit silly, as it installs consul if not available. In most cases, just use 'consul keygen' somewhere 'consul' is installed and be done with it. Options: --help Show this message and exit.
# -*- coding: utf-8 -*- # # module path: pycklets.generate_consul_encryption_key.GenerateConsulEncryptionKey # from dataclasses import dataclass from pyckles import AutoPycklet from typing import * # noqa @dataclass class GenerateConsulEncryptionKey(AutoPycklet): """Convenience frecklet to generate a consul encryption key. This is a bit silly, as it installs consul if not available. In most cases, just use 'consul keygen' somewhere 'consul' is installed and be done with it. Args: """ FRECKLET_ID = "generate-consul-encryption-key" def __post_init__(self): super(GenerateConsulEncryptionKey, self).__init__(var_names=[]) frecklet_class = GenerateConsulEncryptionKey
# -*- coding: utf-8 -*- # # module path: pycklets.generate_consul_encryption_key.GenerateConsulEncryptionKey # from pyckles import AutoPycklet class GenerateConsulEncryptionKey(AutoPycklet): """Convenience frecklet to generate a consul encryption key. This is a bit silly, as it installs consul if not available. In most cases, just use 'consul keygen' somewhere 'consul' is installed and be done with it. Args: """ FRECKLET_ID = "generate-consul-encryption-key" def __init__(self, ): super(GenerateConsulEncryptionKey, self).__init__(var_names=[]) frecklet_class = GenerateConsulEncryptionKey