LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
319 B
HCL
17 lines
319 B
HCL
# API may read only its own KV document and renew its own token.
|
|
path "secret/data/messenger/api" {
|
|
capabilities = ["read"]
|
|
}
|
|
|
|
path "secret/metadata/messenger/api" {
|
|
capabilities = ["read"]
|
|
}
|
|
|
|
path "auth/token/renew-self" {
|
|
capabilities = ["update"]
|
|
}
|
|
|
|
path "auth/token/lookup-self" {
|
|
capabilities = ["read"]
|
|
}
|