hotpocket/services/backend/ops/metal/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
659 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 (
MetalCelerySecrets,
MetalDatabaseSecrets,
MetalOIDCSecrets,
)
# isort: on
class MetalWebAppSecrets(WebAppSecrets):
SECRET_KEY: str = LiteralField.new('thisisntright')
DATABASE: MetalDatabaseSecrets = SecretsField.new(MetalDatabaseSecrets)
CELERY: MetalCelerySecrets = SecretsField.new(MetalCelerySecrets)
OIDC: MetalOIDCSecrets = SecretsField.new(MetalOIDCSecrets)
__secrets__ = MetalWebAppSecrets()