base

Base classes for SecretVault clients.

class SecretVaultBaseOptions(*, keypair: Keypair, clients: List[T_CLIENT], key: Any | None = None)[source]

Bases: BaseModel, Generic[T_CLIENT]

Common constructor options for all SecretVault clients.

keypair: Keypair
clients: List[T_CLIENT]
key: Any | None
class SecretVaultBaseClient(options: SecretVaultBaseOptions)[source]

Bases: ABC, Generic[T_CLIENT]

Provides common properties and methods for SecretVault clients.

property id: str

The DID of the keypair as a string.

property did: Did

The DID of the keypair associated with this client.

property nodes: List[T_CLIENT]

The array of underlying node clients for the cluster.

property keypair: Keypair

The keypair used by this client for signing.

async read_cluster_info() ByNodeName[source]

Retrieves information about each node in the cluster.

class SecretVaultBaseOptions(*, keypair: Keypair, clients: List[T_CLIENT], key: Any | None = None)[source]

Bases: BaseModel, Generic[T_CLIENT]

Common constructor options for all SecretVault clients.

keypair: Keypair
clients: List[T_CLIENT]
key: Any | None
class SecretVaultBaseOptions(*, keypair: Keypair, clients: List[T_CLIENT], key: Any | None = None)[source]

Bases: BaseModel, Generic[T_CLIENT]

Common constructor options for all SecretVault clients.

keypair: Keypair
clients: List[T_CLIENT]
key: Any | None