mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
allows emails@sign to be within the aws secrets engine path (#7553)
This commit is contained in:
parent
319fe8ea37
commit
b16087cd14
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ func pathListRoles(b *backend) *framework.Path {
|
|||
|
||||
func pathRoles(b *backend) *framework.Path {
|
||||
return &framework.Path{
|
||||
Pattern: "roles/" + framework.GenericNameRegex("name"),
|
||||
Pattern: "roles/" + framework.GenericNameWithAtRegex("name"),
|
||||
Fields: map[string]*framework.FieldSchema{
|
||||
"name": &framework.FieldSchema{
|
||||
Type: framework.TypeString,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import (
|
|||
|
||||
func pathUser(b *backend) *framework.Path {
|
||||
return &framework.Path{
|
||||
Pattern: "(creds|sts)/" + framework.GenericNameRegex("name"),
|
||||
Pattern: "(creds|sts)/" + framework.GenericNameWithAtRegex("name"),
|
||||
Fields: map[string]*framework.FieldSchema{
|
||||
"name": &framework.FieldSchema{
|
||||
Type: framework.TypeString,
|
||||
|
|
|
|||
Loading…
Reference in a new issue