# Enarx.toml
```toml
[[trust.example]]
kind = "steward"
cert = "/certs/example.pem"
[[trust.example2]]
kind = "ca"
cert = "/certs/example2.pem"
[[connect]]
port = 443
prot = "tls"
cert = "https://attest.profian.com"
peer = {
"example2": null,
"example": ["foo:^1.2.3"],
}
[
"foo:^1.2.3", # Profian / Drawbridge
"bar:^1.2.3",
]
peer = "webpki"
peer = {
kind = "custom",
hash = "sha256:deadbeef",
}
[[listen]]
port = 443
prot = "tls"
cert = {
prot = "steward",
from = "https://attest.profian.com",
}
cert = {
prot = "acme",
domain = "foo.bar.com",
from = "https://letsencrypt.com",
}
peer = [
"foo:^1.2.3", # Profian / Drawbridge
"bar:^1.2.3",
]
peer = {
cert = "profian"
slug = "store.profian.com/foo:^1.2.3"
}
[[certs.foo]]
from = "http://auth.profian.com/"
protocol = "steward"
-----------------------------
[[certs]]
name = "foo"
kind = "ca"
prot = "steward"
from = "http://ca.profian.com/"
[[certs]]
name = "bar"
kind = "tls"
prot = "internal"
from = "foo"
[[certs]]
name = "baz"
kind = "sig"
prot = "internal"
from = "foo"
[[certs]]
name = "bat"
kind = "enc"
prot = "steward"
from = "https://mycompany.com/steward/enc"
[[files]]
kind = "stdin"
[[files]]
kind = "stdout"
[[files]]
kind = "stderr"
[[files]]
kind = "listen"
prot = "tls"
port = 3000
name = "http"
cert = "bar"
[[files]]
kind = "cert"
from = "bat"
name = "bat"
```