distributed 2021.10.0

Parameters

Default values are loaded from Dask's configuration files, and can be overridden in the constructor.

Parameters

require_encryption : bool, optional

Whether TLS encryption is required for all connections.

tls_ca_file : str, optional

Path to a CA certificate file encoded in PEM format.

tls_ciphers : str, optional

An OpenSSL cipher string of allowed ciphers. If not provided, the system defaults will be used.

tls_client_cert : str, optional

Path to a certificate file for the client, encoded in PEM format.

tls_client_key : str, optional

Path to a key file for the client, encoded in PEM format. Alternatively, the key may be appended to the cert file, and this parameter be omitted.

tls_scheduler_cert : str, optional

Path to a certificate file for the scheduler, encoded in PEM format.

tls_scheduler_key : str, optional

Path to a key file for the scheduler, encoded in PEM format. Alternatively, the key may be appended to the cert file, and this parameter be omitted.

tls_worker_cert : str, optional

Path to a certificate file for a worker, encoded in PEM format.

tls_worker_key : str, optional

Path to a key file for a worker, encoded in PEM format. Alternatively, the key may be appended to the cert file, and this parameter be omitted.

extra_conn_args : mapping, optional

Mapping with keyword arguments to pass down to connections.

Security configuration for a Dask cluster.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /distributed/security.py#16
type: <class 'type'>
Commit: