From: John Mulligan Date: Wed, 2 Jul 2025 21:47:56 +0000 (-0400) Subject: mgr/smb: add a new TLSCredentialType enum X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=64c318c14cd83f9c9c30339a834add38797fa10f;p=ceph.git mgr/smb: add a new TLSCredentialType enum Add a new TLSCredentialType to enums.py. This will be used in the future to support a new resource type that manages TLS/SSL credential objects ( certs, keys, etc). Signed-off-by: John Mulligan --- diff --git a/src/pybind/mgr/smb/enums.py b/src/pybind/mgr/smb/enums.py index c1c7ec1117df6..2e57dac9a2607 100644 --- a/src/pybind/mgr/smb/enums.py +++ b/src/pybind/mgr/smb/enums.py @@ -129,3 +129,11 @@ class InputPasswordFilter(_StrEnum): # but we want a InputPasswordFilter to be a strict subset of the # password filter enum. return PasswordFilter(self.value) + + +class TLSCredentialType(_StrEnum): + """Specify the type of a TLS credential.""" + + CERT = 'cert' + KEY = 'key' + CA_CERT = 'ca-cert'