remove leading slash on vault path

This commit is contained in:
Alex Dadgar
2017-02-28 14:03:18 -08:00
parent 97d6bab88b
commit 04d2be3d2c
3 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ const (
// vaultCapabilitiesLookupPath is the path to lookup the capabilities of
// ones token.
vaultCapabilitiesLookupPath = "/sys/capabilities-self"
vaultCapabilitiesLookupPath = "sys/capabilities-self"
// vaultTokenRenewPath is the path used to renew our token
vaultTokenRenewPath = "auth/token/renew-self"

View File

@@ -31,7 +31,7 @@ path "auth/token/revoke-accessor" {
# Allow checking the capabilities of our own token. This is used to validate the
# token upon startup.
path "/sys/capabilities-self" {
path "sys/capabilities-self" {
capabilities = ["update"]
}

View File

@@ -96,7 +96,7 @@ path "auth/token/revoke-accessor" {
# Allow checking the capabilities of our own token. This is used to validate the
# token upon startup.
path "/sys/capabilities-self" {
path "sys/capabilities-self" {
capabilities = ["update"]
}