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