hvac の API リファレンス
hvac (hvac/hvac) の公開 API 116 件 —— クラス 38、関数 1、メソッド 77。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: hvac/hvac
| 種別 | 件数 |
|---|---|
| クラス | 38 |
| 関数 | 1 |
| メソッド | 77 |
API 一覧
method
hvac.adapters.Adapter.close()Close the underlying Requests session.
method
hvac.adapters.Adapter.delete(url, **kwargs)Performs a DELETE request.
method
hvac.adapters.Adapter.get(url, **kwargs)Performs a GET request.
method
hvac.adapters.Adapter.head(url, **kwargs)Performs a HEAD request.
method
hvac.adapters.Adapter.list(url, **kwargs)Performs a LIST request.
method
hvac.adapters.Adapter.login(url, use_token=True, **kwargs)Perform a login request.
method
hvac.adapters.Adapter.post(url, **kwargs)Performs a POST request.
method
hvac.adapters.Adapter.put(url, **kwargs)Performs a PUT request.
method
hvac.adapters.Adapter.request(method, url, headers=None, raise_exception=True, **kwargs)Main method for routing HTTP requests to the configured Vault base_uri.
method
hvac.adapters.Adapter.urljoin(*args)Joins given arguments into a url.
class
hvac.adapters.JSONAdapterThe JSONAdapter adapter class.
class
hvac.adapters.RawAdapterThe RawAdapter adapter class.
class
hvac.api.auth_methods.AuthMethodsAuth Methods.
class
hvac.api.auth_methods.approle.AppRoleUSERPASS Auth Method (API).
class
hvac.api.auth_methods.aws.AwsAWS Auth Method (API).
class
hvac.api.auth_methods.azure.AzureAzure Auth Method (API).
class
hvac.api.auth_methods.cert.CertCert Auth Method (API).
class
hvac.api.auth_methods.gcp.GcpGoogle Cloud Auth Method (API).
class
hvac.api.auth_methods.github.GithubGitHub Auth Method (API).
method
hvac.api.auth_methods.jwt.JWT.jwt_login(role, jwt, use_token=True, path=None)Fetch a token.
method
hvac.api.auth_methods.jwt.JWT.read_config(path=None)Read the previously configured config.
class
hvac.api.auth_methods.kubernetes.KubernetesKubernetes Auth Method (API).
method
hvac.api.auth_methods.kubernetes.Kubernetes.login(role, jwt, use_token=True, mount_point=DEFAULT_MOUNT_POINT)Fetch a token.
class
hvac.api.auth_methods.ldap.LdapLDAP Auth Method (API).
class
hvac.api.auth_methods.legacy_mfa.LegacyMfaMulti-factor authentication Auth Method (API).
method
hvac.api.auth_methods.legacy_mfa.LegacyMfa.read_configuration(mount_point)Read the MFA configuration.
class
hvac.api.auth_methods.okta.OktaOkta Auth Method (API).
method
hvac.api.auth_methods.okta.Okta.read_config(mount_point=DEFAULT_MOUNT_POINT)Read the Okta configuration.
class
hvac.api.auth_methods.radius.RadiusRADIUS Auth Method (API).
class
hvac.api.auth_methods.token.TokenToken Auth Method (API).
method
hvac.api.auth_methods.token.Token.delete_role(role_name, mount_point=DEFAULT_MOUNT_POINT)Delete the named token role.
method
hvac.api.auth_methods.token.Token.list_accessors(mount_point=DEFAULT_MOUNT_POINT)List token accessors.
method
hvac.api.auth_methods.token.Token.list_roles(mount_point=DEFAULT_MOUNT_POINT)List available token roles.
class
hvac.api.auth_methods.userpass.UserpassUSERPASS Auth Method (API).
class
hvac.api.secrets_engines.SecretsEnginesSecrets Engines.
class
hvac.api.secrets_engines.active_directory.ActiveDirectoryActive Directory Secrets Engine (API).
class
hvac.api.secrets_engines.aws.AwsAWS Secrets Engine (API).
class
hvac.api.secrets_engines.azure.AzureAzure Secrets Engine (API).
class
hvac.api.secrets_engines.consul.ConsulCopnsul Secrets Engine (API).
class
hvac.api.secrets_engines.database.DatabaseDatabase Secrets Engine (API).
class
hvac.api.secrets_engines.gcp.GcpGoogle Cloud Secrets Engine (API).
method
hvac.api.secrets_engines.gcp.Gcp.list_rolesets(mount_point=DEFAULT_MOUNT_POINT)List configured rolesets.
method
hvac.api.secrets_engines.gcp.Gcp.read_roleset(name, mount_point=DEFAULT_MOUNT_POINT)Read a roleset.
method
hvac.api.secrets_engines.gcp.Gcp.read_static_account(name, mount_point=DEFAULT_MOUNT_POINT)Read a static account.
class
hvac.api.secrets_engines.identity.IdentityIdentity Secrets Engine (API).
method
hvac.api.secrets_engines.identity.Identity.delete_entity_alias(alias_id, mount_point=DEFAULT_MOUNT_POINT)Delete a entity alias.
method
hvac.api.secrets_engines.identity.Identity.delete_group(group_id, mount_point=DEFAULT_MOUNT_POINT)Delete a group.
method
hvac.api.secrets_engines.identity.Identity.delete_group_alias(entity_id, mount_point=DEFAULT_MOUNT_POINT)Delete a group alias.
method
hvac.api.secrets_engines.identity.Identity.delete_named_key(name, mount_point=DEFAULT_MOUNT_POINT)Delete a named key.
method
hvac.api.secrets_engines.identity.Identity.delete_role(name, mount_point=DEFAULT_MOUNT_POINT)Deletes a role.
method
hvac.api.secrets_engines.identity.Identity.list_named_keys(mount_point=DEFAULT_MOUNT_POINT)List all named keys.
method
hvac.api.secrets_engines.identity.Identity.rotate_named_key(name, verification_ttl, mount_point=DEFAULT_MOUNT_POINT)Rotate a named key.
class
hvac.api.secrets_engines.kv_v1.KvV1KV Secrets Engine - Version 1 (API).
class
hvac.api.secrets_engines.kv_v2.KvV2KV Secrets Engine - Version 2 (API).
class
hvac.api.secrets_engines.ldap.LdapLDAP Secrets Engine (API).
class
hvac.api.secrets_engines.pki.PkiPki Secrets Engine (API).
method
hvac.api.secrets_engines.pki.Pki.create_or_update_role(name, extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Create/Update Role.
method
hvac.api.secrets_engines.pki.Pki.delete_issuer(issuer_ref, mount_point=DEFAULT_MOUNT_POINT)Delete issuer.
method
hvac.api.secrets_engines.pki.Pki.delete_role(name, mount_point=DEFAULT_MOUNT_POINT)Delete Role.
method
hvac.api.secrets_engines.pki.Pki.delete_root(mount_point=DEFAULT_MOUNT_POINT)Delete Root.
method
hvac.api.secrets_engines.pki.Pki.generate_root(type, common_name, extra_params=None, mount_point=DEFAULT_MOUNT_POINT, wrap_ttl=None)Generate Root.
method
hvac.api.secrets_engines.pki.Pki.list_certificates(mount_point=DEFAULT_MOUNT_POINT)List Certificates.
method
hvac.api.secrets_engines.pki.Pki.list_issuers(mount_point=DEFAULT_MOUNT_POINT)List issuers.
method
hvac.api.secrets_engines.pki.Pki.list_roles(mount_point=DEFAULT_MOUNT_POINT)List Roles.
method
hvac.api.secrets_engines.pki.Pki.read_ca_certificate(mount_point=DEFAULT_MOUNT_POINT)Read CA Certificate.
method
hvac.api.secrets_engines.pki.Pki.read_ca_certificate_chain(mount_point=DEFAULT_MOUNT_POINT)Read CA Certificate Chain.
method
hvac.api.secrets_engines.pki.Pki.read_certificate(serial, mount_point=DEFAULT_MOUNT_POINT)Read Certificate.
method
hvac.api.secrets_engines.pki.Pki.read_crl(mount_point=DEFAULT_MOUNT_POINT)Read CRL.
method
hvac.api.secrets_engines.pki.Pki.read_crl_configuration(mount_point=DEFAULT_MOUNT_POINT)Read CRL Configuration.
method
hvac.api.secrets_engines.pki.Pki.read_issuer(issuer_ref, mount_point=DEFAULT_MOUNT_POINT)Read issuer.
method
hvac.api.secrets_engines.pki.Pki.read_role(name, mount_point=DEFAULT_MOUNT_POINT)Read Role.
method
hvac.api.secrets_engines.pki.Pki.read_urls(mount_point=DEFAULT_MOUNT_POINT)Read URLs.
method
hvac.api.secrets_engines.pki.Pki.revoke_certificate(serial_number, mount_point=DEFAULT_MOUNT_POINT)Revoke Certificate.
method
hvac.api.secrets_engines.pki.Pki.revoke_issuer(issuer_ref, mount_point=DEFAULT_MOUNT_POINT)Revoke issuer.
method
hvac.api.secrets_engines.pki.Pki.rotate_crl(mount_point=DEFAULT_MOUNT_POINT)Rotate CRLs.
method
hvac.api.secrets_engines.pki.Pki.set_signed_intermediate(certificate, mount_point=DEFAULT_MOUNT_POINT)Set Signed Intermediate.
method
hvac.api.secrets_engines.pki.Pki.set_urls(params, mount_point=DEFAULT_MOUNT_POINT)Set URLs.
method
hvac.api.secrets_engines.pki.Pki.sign_certificate(name, csr, common_name, extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Sign Certificate.
method
hvac.api.secrets_engines.pki.Pki.sign_intermediate(csr, common_name, extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Sign Intermediate.
method
hvac.api.secrets_engines.pki.Pki.sign_self_issued(certificate, mount_point=DEFAULT_MOUNT_POINT)Sign Self-Issued.
method
hvac.api.secrets_engines.pki.Pki.sign_verbatim(csr, name=False, extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Sign Verbatim.
method
hvac.api.secrets_engines.pki.Pki.submit_ca_information(pem_bundle, mount_point=DEFAULT_MOUNT_POINT)Submit CA Information.
method
hvac.api.secrets_engines.pki.Pki.tidy(extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Tidy.
method
hvac.api.secrets_engines.pki.Pki.update_issuer(issuer_ref, extra_params=None, mount_point=DEFAULT_MOUNT_POINT)Update issuer.
class
hvac.api.secrets_engines.rabbitmq.RabbitMQRabbitMQ Secrets Engine (API).
class
hvac.api.secrets_engines.ssh.SshSSH Secrets Engine (API).
class
hvac.api.secrets_engines.transform.TransformTransform Secrets Engine (API).
class
hvac.api.secrets_engines.transit.TransitTransit Secrets Engine (API).
method
hvac.api.secrets_engines.transit.Transit.export_key(name, key_type, version=None, mount_point=DEFAULT_MOUNT_POINT)Return the named key.
method
hvac.api.secrets_engines.transit.Transit.list_keys(mount_point=DEFAULT_MOUNT_POINT)List keys (if there are any).
method
hvac.api.system_backend.auth.Auth.list_auth_methods()List all enabled auth methods.
class
hvac.api.system_backend.health.Health.
method
hvac.api.system_backend.key.Key.cancel_rekey(recovery_key=False)Cancel any in-progress rekey.
method
hvac.api.system_backend.lease.Lease.list_leases(prefix)Retrieve a list of lease ids.
method
hvac.api.system_backend.lease.Lease.read_lease(lease_id)Retrieve lease metadata.
method
hvac.api.system_backend.lease.Lease.revoke_lease(lease_id)Revoke a lease immediately.
method
hvac.api.system_backend.namespace.Namespace.delete_namespace(path)Delete a namespaces.
method
hvac.api.system_backend.namespace.Namespace.list_namespaces()Lists all the namespaces.
method
hvac.api.system_backend.policies.Policies.list_acl_policies()List all configured acl policies.
method
hvac.api.system_backend.policies.Policies.list_egp_policies()List all configured egp policies.
method
hvac.api.system_backend.policies.Policies.list_rgp_policies()List all configured rgp policies.
method
hvac.api.system_backend.policy.Policy.list_policies()List all configured policies.
method
hvac.api.system_backend.quota.Quota.delete_quota(name)Delete a given quota.
method
hvac.api.system_backend.quota.Quota.list_quotas()Retrieve a list of quotas by name.
method
hvac.api.system_backend.quota.Quota.read_quota(name)Read quota.
class
hvac.api.system_backend.raft.RaftRaft cluster-related system backend methods.
class
hvac.api.system_backend.system_backend_mixin.SystemBackendMixinBase class for System Backend API endpoints.
class
hvac.api.vault_api_base.VaultApiBaseBase class for API endpoints.
class
hvac.api.vault_api_category.VaultApiCategoryBase class for API categories.
func
hvac.utils.get_token_from_env()Get the token from env var, VAULT_TOKEN.
class
hvac.v1.ClientThe hvac Client class for HashiCorp's Vault.
method
hvac.v1.Client.adapter()Adapter for all client's connections.
method
hvac.v1.Client.auth()Accessor for the Client instance's auth methods.
method
hvac.v1.Client.login(url, use_token=True, **kwargs)Perform a login request.
method
hvac.v1.Client.seal_status()Read the seal status of the Vault.
method
hvac.v1.Client.write_data(path:str, *data:t.Optional[t.Dict[str, t.Any]]=None, *wrap_ttl:t.Optional[str]=None)Write data to a path.
この情報について
掲載しているシグネチャは hvac/hvac の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。