MCPcopy Index your code
hub / github.com/httpie/cli / SSLCredentials

Class SSLCredentials

httpie/cli/argtypes.py:148–155  ·  view source on GitHub ↗

Represents the passphrase for the certificate's key.

Source from the content-addressed store, hash-verified

146
147
148class SSLCredentials(PromptMixin):
149 """Represents the passphrase for the certificate's key."""
150
151 def __init__(self, value: Optional[str]) -> None:
152 self.value = value
153
154 def prompt_password(self, key_file: str) -> None:
155 self.value = self._prompt_password(f'passphrase for {key_file}')
156
157
158class AuthCredentials(KeyValueArg, PromptMixin):

Callers 1

_process_ssl_certMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected