# coding=utf-8 # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import builtins as _builtins import warnings import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload if sys.version_info >= (3, 11): from typing import NotRequired, TypedDict, TypeAlias else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities import types __config__ = pulumi.Config('dokploy') class _ExportableConfig(types.ModuleType): @_builtins.property def api_key(self) -> Optional[str]: """ API token generated in Dokploy under *Settings > Profile > API/CLI*. May also be set with the `DOKPLOY_API_KEY` environment variable. """ return __config__.get('apiKey') or _utilities.get_env('DOKPLOY_API_KEY') @_builtins.property def host(self) -> Optional[str]: """ Base URL of the Dokploy instance, for example `https://dokploy.example.com`. A trailing `/api` is optional. May also be set with the `DOKPLOY_HOST` environment variable. """ return __config__.get('host') or _utilities.get_env('DOKPLOY_HOST') @_builtins.property def insecure_skip_verify(self) -> Optional[bool]: """ Skip TLS certificate verification. Only use this for instances behind a self-signed certificate. Defaults to `false`. """ return __config__.get_bool('insecureSkipVerify') @_builtins.property def timeout_seconds(self) -> Optional[int]: """ Per-request timeout in seconds. Defaults to `60`. May also be set with the `DOKPLOY_TIMEOUT_SECONDS` environment variable. """ return __config__.get_int('timeoutSeconds') or _utilities.get_env_int('DOKPLOY_TIMEOUT_SECONDS')