"user": envs["user"],
"secret": envs["secret"],
"cacert": envs["cacert"],
- "pubkey": envs["pubkey"],
- "lxd-cloud": envs["cloud"],
- "lxd-credentials": envs.get("credentials", envs["cloud"]),
- "k8s-cloud": envs["k8s_cloud"],
- "k8s-credentials": envs.get("k8s_credentials", envs["k8s_cloud"]),
+ "pubkey": envs.get("pubkey"),
+ "lxd-cloud": envs.get("cloud"),
+ "lxd-credentials": envs.get("credentials", envs.get("cloud")),
+ "k8s-cloud": envs.get("k8s_cloud"),
+ "k8s-credentials": envs.get("k8s_credentials", envs.get("k8s_cloud")),
"model-config": ModelConfig(envs),
"api-proxy": envs.get("api_proxy", None),
}