Ad Widget

Collapse

Permissions for Hashicorp Vault template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Midas1989
    Junior Member
    • Feb 2020
    • 12

    #1

    Permissions for Hashicorp Vault template

    Dear zabbix community,

    i don't see what permission the token needs to get all the information from the vault.

    I do not want to make it too generous
    Can someone tell me what the policy must look like?

    Thanks for help​
  • Midas1989
    Junior Member
    • Feb 2020
    • 12

    #2
    so i have found all permissions for work


    a policy with the follow content
    path "/sys/metrics" {
    capabilities = ["list" , "read"]
    }​

    path "auth/token/lookup-accessor" {
    capabilities = ["read", "update"]
    }​

    and this content in the vault.hcl file
    telemetry {
    disable_hostname = true
    prometheus_retention_time = "12h"
    }


    Last edited by Midas1989; 19-05-2023, 10:51.

    Comment

    Working...