Files
zeekay 23138100de refactor: rebrand Infisical Python SDK -> Hanzo KMS Python SDK
- Rename package: infisical_sdk -> hanzo_kms (pip: hanzokms)
- Rename classes: InfisicalSDKClient -> KMSClient, InfisicalRequests -> KMSRequests, InfisicalError -> KMSError
- Default API host: https://kms.hanzo.ai
- Update all imports, docstrings, and user-facing strings
- Copyright: Hanzo AI Inc.
- Backward-compatible aliases: InfisicalSDKClient, InfisicalError
- Env var: INFISICAL_AWS_IAM_AUTH_IDENTITY_ID -> HANZO_KMS_AWS_IAM_AUTH_IDENTITY_ID
- Remove obsolete OpenAPI generator files (.travis.yml, .gitlab-ci.yml, etc.)
2026-02-24 02:00:18 -08:00

17 lines
746 B
Python

from hanzo_kms.kms_requests import KMSRequests
from hanzo_kms.resources.auth_methods import AWSAuth
from hanzo_kms.resources.auth_methods import UniversalAuth
from hanzo_kms.resources.auth_methods import OidcAuth
from hanzo_kms.resources.auth_methods import TokenAuth
from hanzo_kms.resources.auth_methods import LdapAuth
from typing import Callable
class Auth:
def __init__(self, requests: KMSRequests, setToken: Callable[[str], None]):
self.requests = requests
self.aws_auth = AWSAuth(requests, setToken)
self.universal_auth = UniversalAuth(requests, setToken)
self.oidc_auth = OidcAuth(requests, setToken)
self.token_auth = TokenAuth(setToken)
self.ldap_auth = LdapAuth(requests, setToken)