management.management.commands.tls_cred¶
This module defines a Django management command to generate a TLS credential for use in the dev environment.
Classes¶
[DEV ONLY]: A Django management command to create and store tls credential in dev env. |
Module Contents¶
- class management.management.commands.tls_cred.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases:
django.core.management.base.BaseCommand,trustpoint.logger.LoggerMixin[DEV ONLY]: A Django management command to create and store tls credential in dev env.
- add_arguments(parser)[source]¶
Adds command arguments/options.
- Parameters:
parser (django.core.management.base.CommandParser)
- Return type:
None
- handle(**options)[source]¶
Entrypoint for the command.
- Parameters:
**options (dict[str, str]) – A variable-length argument.
- Return type:
None