28 lines
665 B
Python
28 lines
665 B
Python
# -*- coding: utf-8 -*-
|
|
# type: ignore
|
|
from __future__ import annotations
|
|
|
|
from keep_it_secret import LiteralField, SecretsField
|
|
|
|
from hotpocket_backend.secrets.admin import AdminSecrets
|
|
|
|
# isort: off
|
|
from .common import (
|
|
DockerCelerySecrets,
|
|
DockerDatabaseSecrets,
|
|
DockerOIDCSecrets,
|
|
)
|
|
# isort: on
|
|
|
|
|
|
class DockerAdminSecrets(AdminSecrets):
|
|
SECRET_KEY: str = LiteralField.new('thisisntright')
|
|
|
|
DATABASE: DockerDatabaseSecrets = SecretsField.new(DockerDatabaseSecrets)
|
|
CELERY: DockerCelerySecrets = SecretsField.new(DockerCelerySecrets)
|
|
|
|
OIDC: DockerOIDCSecrets = SecretsField.new(DockerOIDCSecrets)
|
|
|
|
|
|
__secrets__ = DockerAdminSecrets()
|