MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / get_key

Method get_key

sdk/python/src/dstack_sdk/dstack_client.py:551–558  ·  view source on GitHub ↗

Derive a key from the given path, purpose, and algorithm.

(
        self,
        path: str | None = None,
        purpose: str | None = None,
        algorithm: str = "secp256k1",
    )

Source from the content-addressed store, hash-verified

549
550 @call_async
551 def get_key(
552 self,
553 path: str | None = None,
554 purpose: str | None = None,
555 algorithm: str = "secp256k1",
556 ) -> GetKeyResponse:
557 """Derive a key from the given path, purpose, and algorithm."""
558 raise NotImplementedError
559
560 @call_async
561 def get_quote(

Calls

no outgoing calls