1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
"""Collection of classes for various Vault auth methods."""
from hvac.api.auth_methods.approle import AppRole
from hvac.api.auth_methods.azure import Azure
from hvac.api.auth_methods.gcp import Gcp
from hvac.api.auth_methods.github import Github
from hvac.api.auth_methods.jwt import JWT
from hvac.api.auth_methods.kubernetes import Kubernetes
from hvac.api.auth_methods.ldap import Ldap
from hvac.api.auth_methods.userpass import Userpass
from hvac.api.auth_methods.legacy_mfa import LegacyMfa
from hvac.api.auth_methods.oidc import OIDC
from hvac.api.auth_methods.okta import Okta
from hvac.api.auth_methods.radius import Radius
from hvac.api.auth_methods.token import Token
from hvac.api.auth_methods.aws import Aws
from hvac.api.auth_methods.cert import Cert
from hvac.api.vault_api_category import VaultApiCategory
__all__ = (
"AuthMethods",
"AppRole",
"Azure",
"Gcp",
"Github",
"JWT",
"Kubernetes",
"Ldap",
"Userpass",
"LegacyMfa",
"OIDC",
"Okta",
"Radius",
"Token",
"Aws",
"Cert",
)
class AuthMethods(VaultApiCategory):
"""Auth Methods."""
implemented_classes = [
AppRole,
Azure,
Github,
Gcp,
JWT,
Kubernetes,
Ldap,
Userpass,
LegacyMfa,
OIDC,
Okta,
Radius,
Token,
Aws,
Cert,
]
unimplemented_classes = [
"AppId",
"AliCloud",
"Mfa",
]
|