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

Method get_tls_key

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

Request a TLS key from the service with optional parameters.

(
        self,
        subject: str | None = None,
        alt_names: List[str] | None = None,
        usage_ra_tls: bool = False,
        usage_server_auth: bool = True,
        usage_client_auth: bool = False,
    )

Source from the content-addressed store, hash-verified

589
590 @call_async
591 def get_tls_key(
592 self,
593 subject: str | None = None,
594 alt_names: List[str] | None = None,
595 usage_ra_tls: bool = False,
596 usage_server_auth: bool = True,
597 usage_client_auth: bool = False,
598 ) -> GetTlsKeyResponse:
599 """Request a TLS key from the service with optional parameters."""
600 raise NotImplementedError
601
602 @call_async
603 def sign(self, algorithm: str, data: str | bytes) -> SignResponse:

Calls

no outgoing calls