summaryrefslogtreecommitdiffstats
path: root/custodia.conf
diff options
context:
space:
mode:
Diffstat (limited to 'custodia.conf')
-rw-r--r--custodia.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/custodia.conf b/custodia.conf
index a9009f7..79d7085 100644
--- a/custodia.conf
+++ b/custodia.conf
@@ -12,7 +12,12 @@ name = REMOTE_USER
[authz:paths]
handler = custodia.httpd.authorizers.SimplePathAuthz
-paths = /
+paths = /.
+
+[authz:namespaces]
+handler = custodia.secrets.Namespaces
+path = /secrets/
+store = simple
[store:simple]
handler = custodia.store.sqlite.SqliteStore
@@ -30,6 +35,11 @@ handler = custodia.store.sqlite.SqliteStore
dburi = secrets.db
table = tenant1
+[authz:tenant1]
+handler = custodia.secrets.Namespaces
+path = /tenant1/secrets/
+store = tenant1
+
[/tenant1/secrets]
handler = custodia.root.Secrets
store = tenant1