hotpocket/services/backend/hotpocket_backend/secrets/deployment/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

25 lines
681 B
Python

# -*- coding: utf-8 -*-
from __future__ import annotations
from keep_it_secret import EnvField, SecretsField
from hotpocket_backend.secrets.webapp import WebAppSecrets
from .common import (
DeploymentCelerySecrets,
DeploymentDatabaseSecrets,
DeploymentOIDCSecrets,
)
class DeploymentWebAppSecrets(WebAppSecrets):
SECRET_KEY: str = EnvField.new('HOTPOCKET_BACKEND_SECRET_KEY')
DATABASE: DeploymentDatabaseSecrets = SecretsField.new(DeploymentDatabaseSecrets)
CELERY: DeploymentCelerySecrets = SecretsField.new(DeploymentCelerySecrets)
OIDC: DeploymentOIDCSecrets = SecretsField.new(DeploymentOIDCSecrets)
__secrets__ = DeploymentWebAppSecrets()