A library providing low-level and high-level constructs to interact with Exoscale infrastructure resources.
This library needs access to your Exoscale credentials to perform operations.
Credentials can be provided in several ways.
Most functions take a config map as their first argument. This map has two mandatory keys and an optional one.
{:api-key "EXO..."
:api-secret "..."
:endpoint "https://api.exoscale.com/compute"} ;; optional
Most library consumers will want to read configuration from a file to avoid wiring credentials directly in their application.
The exoscale.compute.api.config/from-environment
function will
load credentials in the following way:
$XDG_CONFIG_HOME/exoscale/exoscale.toml
or $XDG_CONFIG_HOME/exoscale/exoscale.edn
, expecting the same structure than in the Exoscale CLIEXOSCALE_ACCOUNT
, EXOSCALE_API_KEY
, EXOSCALE_API_SECRET
, EXOSCALE_ENDPOINT
.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close