-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcharon.dev.toml
More file actions
35 lines (30 loc) · 861 Bytes
/
Copy pathcharon.dev.toml
File metadata and controls
35 lines (30 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Local startup configuration. This file contains no real credentials and does
# not configure HTTPS interception. See charon.toml for the operator example.
listen = "127.0.0.1:3129"
[realm]
id = "local-development"
tenant = "example"
persona = "developer"
generation = 1
[provider]
kind = "environment"
[identity]
issuer = "example-control-plane"
audience = "charon"
# Public test key only. The matching private key is not part of this example.
public_key = "11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="
max_ttl_seconds = 60
clock_skew_seconds = 2
[[capabilities]]
name = "local-demo"
persona = "developer"
service = "local-api"
methods = ["GET"]
paths = ["/demo"]
[[services]]
name = "local-api"
hosts = ["127.0.0.1"]
header = "authorization"
placeholder = "Bearer charon-placeholder"
value_template = "Bearer {secret}"
secret_ref = "CHARON_DEMO_TOKEN"