Skip to content

Commit

Permalink
chore: add some documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Nov 17, 2023
1 parent b00fd1f commit ec4a60e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config.example.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Company name of the vendor to use if the incoming ACL request vendor is not found withing the registered vendors.
default_vendor: snapp
# Port of the HTTP server:
http_port: 9999
# Application logger config:
logger:
level: debug
# Validator is the upstream backend service that can validate the tokens:
validator:
url: http://validator-lb
timeout: "5s"
# The list of different vendors or companies that Soteria should work with:
vendors:
- allowed_access_types:
- pub
Expand Down Expand Up @@ -52,6 +57,16 @@ vendors:
YMuhTePaIWwOifzRQt8HDsAOpzqJuLCoYX7HmBfpGAnwu4BuTZgXVwpvPNb+KlgS
pQIDAQAB
-----END PUBLIC KEY-----
# Examples of different use cases of template functions:
# Topics are dynamics and their patterns can be defined using some GoTemplate functions.
#
#
# IssToEntity: converts iss claim token to company name.
#
# EncodeMD5: encode MD5 of the input
#
# DecodeHashID: runs hashid algorithm on the input. The first argument is the input of hashid and the second argument
# is the issuer of id of hash_id_map.
topics:
- accesses:
"0": "1"
Expand Down

0 comments on commit ec4a60e

Please sign in to comment.