test(e2e): Update test to also use a username/password credential in vault (#2595)

* test(e2e): Add test that uses a vault username/password
* refact(e2e): Use go:embed for policy file
This commit is contained in:
Michael Li authored and GitHub committed 2022-11-08 16:45:55 -05:00
1 parent 1e59aaf19b
commit ae28bf7838
6 files changed
+208 -101

No files matched your search

@@ -0,0 +1,23 @@
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "auth/token/renew-self" {
capabilities = ["update"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}
path "sys/leases/renew" {
capabilities = ["update"]
}
path "sys/leases/revoke" {
capabilities = ["update"]
}
path "sys/capabilities-self" {
capabilities = ["update"]
}