-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolicy.hcl
41 lines (34 loc) · 1 KB
/
policy.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Operations for pytest
# Allow read access to retrieve the token using approle
path "auth/token/lookup" {
capabilities = ["read"]
}
# Operations for pytest
# Allow updating capabilities for token revocation after creating and testing approle
path "auth/token/revoke" {
capabilities = ["update"]
}
# Operations for the module
# Enable read access for self-lookup with tokens
path "auth/token/lookup-self" {
capabilities = ["read"]
}
# Operations for pytest
# Allow read, create or update operations on the pytest path
path "sys/mounts/pytests" {
capabilities = ["read", "create", "update"]
}
# Operations for the module
# Read and update namespace configuration
path "pytests/config" {
capabilities = ["read", "list", "update"]
}
# Operations for the module
# Work with secret application data
path "pytests/data/configuration/*" {
capabilities = ["create", "read", "update", "list"]
}
# To work with database engine
path "database/creds/*" {
capabilities = ["create", "read", "update", "list", "delete"]
}