hotpocket/services/backend/ops/docker/secrets/webapp.py
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

28 lines
670 B
Python

# -*- coding: utf-8 -*-
# type: ignore
from __future__ import annotations
from keep_it_secret import LiteralField, SecretsField
from hotpocket_backend.secrets.webapp import WebAppSecrets
# isort: off
from .common import (
DockerCelerySecrets,
DockerDatabaseSecrets,
DockerOIDCSecrets,
)
# isort: on
class DockerWebAppSecrets(WebAppSecrets):
SECRET_KEY: str = LiteralField.new('thisisntright')
DATABASE: DockerDatabaseSecrets = SecretsField.new(DockerDatabaseSecrets)
CELERY: DockerCelerySecrets = SecretsField.new(DockerCelerySecrets)
OIDC: DockerOIDCSecrets = SecretsField.new(DockerOIDCSecrets)
__secrets__ = DockerWebAppSecrets()