Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion stubs/hvac/hvac/api/secrets_engines/kv_v1.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

from hvac.api.vault_api_base import VaultApiBase

DEFAULT_MOUNT_POINT: str
Expand All @@ -6,6 +8,6 @@ class KvV1(VaultApiBase):
def read_secret(self, path: str, mount_point: str = "secret"): ...
def list_secrets(self, path: str, mount_point: str = "secret"): ...
def create_or_update_secret(
self, path: str, secret: dict[str, str], method: str | None = None, mount_point: str = "secret"
self, path: str, secret: dict[str, Any], method: str | None = None, mount_point: str = "secret"
): ...
def delete_secret(self, path: str, mount_point: str = "secret"): ...
4 changes: 3 additions & 1 deletion stubs/hvac/hvac/api/secrets_engines/kv_v2.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

from hvac.api.vault_api_base import VaultApiBase

DEFAULT_MOUNT_POINT: str
Expand All @@ -15,7 +17,7 @@ class KvV2(VaultApiBase):
def read_secret_version(
self, path: str, version: int | None = None, mount_point: str = "secret", raise_on_deleted_version: bool | None = None
): ...
def create_or_update_secret(self, path: str, secret: dict[str, str], cas: int | None = None, mount_point: str = "secret"): ...
def create_or_update_secret(self, path: str, secret: dict[str, Any], cas: int | None = None, mount_point: str = "secret"): ...
def patch(self, path: str, secret: dict[str, str], mount_point: str = "secret"): ...
def delete_latest_version_of_secret(self, path: str, mount_point: str = "secret"): ...
def delete_secret_versions(self, path: str, versions: list[int], mount_point: str = "secret"): ...
Expand Down