Environment Variables#


Environment variables are not encrypted and will be available as plain text. For security reasons, you should not use environment variables to add secrets to your clusters.

To add environment variables to your clusters, use the environ keyword argument of coiled.Cluster. environ accepts a dictionary, for example:

import coiled

cluster = coiled.Cluster(
        "MY_TOKEN": "1234",
client = cluster.get_client()