# Globs in SSH engine's \`allowed\_users\`

**URL:** <https://discuss.hashicorp.com/t/globs-in-ssh-engines-allowed-users/40329>\
**Category:** Vault\
**Created:** [June 2, 2022, 2:39pm UTC](https://discuss.hashicorp.com/t/globs-in-ssh-engines-allowed-users/40329 "2022-06-02T14:39:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarfarazahmad89](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sarfarazahmad89/32/27934_2.png) [@sarfarazahmad89](https://discuss.hashicorp.com/u/sarfarazahmad89)\
**Post date:** [June 2, 2022, 2:39pm UTC](https://discuss.hashicorp.com/t/globs-in-ssh-engines-allowed-users/40329/1 "2022-06-02T14:39:49Z")

</div>

Hi,

I can;t understand why globs or regular expressions are not supported in the `allowed_users` parameter of the SSH engine (for security reasons?) . I want to configure a SSH certificate signer role where allowed\_users are like,

```auto
  "allowed_users_template": true,
  "allowed_users": "{{identity.entity.aliases.auth_ldap_bla_blah_blah.name}}", myprefix-*

```

But it seems it either has to be a **strict** string or a generic complete open wildcard (\*)

Thoughts?

---

<div class="post-metadata">

**Author:** ![maxb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/maxb/32/26655_2.png) [@maxb](https://discuss.hashicorp.com/u/maxb)\
**Post date:** [June 2, 2022, 3:59pm UTC](https://discuss.hashicorp.com/t/globs-in-ssh-engines-allowed-users/40329/2 "2022-06-02T15:59:19Z")

</div>

It might simply be that when the functionality was originally being designed, the people involved went with the simplest design to describe and code.

There are, annoyingly, quite a few different implementations of wildcard matching in different parameters throughout Vault 🙁
