feat: import lab 7 security implementation
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Политика worker. Вход — роль worker: identity worker (CN), DNS SAN worker. Только
|
||||
# read пароля своей роли PostgreSQL и ключей своего пользователя S3 (брокер — по
|
||||
# сертификату, Valkey не нужен); metadata/, список, запись и системные пути не
|
||||
# выдаются; шаблонов путей нет, политики default у токена нет.
|
||||
path "messenger/data/postgres/worker" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "messenger/data/s3/worker" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "auth/token/lookup-self" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "auth/token/renew-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
path "auth/token/revoke-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
Reference in New Issue
Block a user