Skip to content

Commit

Permalink
Add new allowed_signer config blocks to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
obelisk committed Jun 6, 2024
1 parent 78d7058 commit 47aa0e7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
9 changes: 8 additions & 1 deletion examples/rustica_external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,11 @@ MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgkTd0C69xWFX9PmVf
BeD0ySfG+O0e7p7SXR9xo/enbvahRANCAAQCDYaBVv+bcD6gBy8YxY5p7JRNYyTC
UF5oo8pmUycUdA7DWZcL1IDR/lmEBX6uCFTMMqVR4Mk2CTvpQADxHsjz
-----END PRIVATE KEY-----
'''
'''

[allowed_signers]
cache_validity_length.secs = 900
cache_validity_length.nanos = 0
lru_rate_limiter_size = 16
rate_limit_cooldown.secs = 15
rate_limit_cooldown.nanos = 0
7 changes: 7 additions & 0 deletions examples/rustica_local_amazonkms.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ common_name = "RusticaAccess"

[authorization."database"]
path = "examples/example.db"

[allowed_signers]
cache_validity_length.secs = 900
cache_validity_length.nanos = 0
lru_rate_limiter_size = 16
rate_limit_cooldown.secs = 15
rate_limit_cooldown.nanos = 0
9 changes: 8 additions & 1 deletion examples/rustica_local_multi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,11 @@ algorithm = "ECDSA_SHA_384"


[authorization."database"]
path = "examples/example.db"
path = "examples/example.db"

[allowed_signers]
cache_validity_length.secs = 900
cache_validity_length.nanos = 0
lru_rate_limiter_size = 16
rate_limit_cooldown.secs = 15
rate_limit_cooldown.nanos = 0
9 changes: 8 additions & 1 deletion examples/rustica_local_yubikey.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,11 @@ client_certificate_authority_common_name = "RusticaAccess"
[logging."stdout"]

[authorization."database"]
path = "examples/example.db"
path = "examples/example.db"

[allowed_signers]
cache_validity_length.secs = 900
cache_validity_length.nanos = 0
lru_rate_limiter_size = 16
rate_limit_cooldown.secs = 15
rate_limit_cooldown.nanos = 0

0 comments on commit 47aa0e7

Please sign in to comment.