Files
vault/changelog/17007.txt
Tianhao Guo 2a1775f45f fix an edge case bug that "identity_policies" is nil (#17007)
* check if "identity_policies" is nil to fix cli vault login error

* add changelog

* skip add identity_policies to resp when there's no identity_policies associated in token's namespace

This is an edge case, when an entity has identity_policies associated in other namespaces but no identity_policies in this token's namespace, `identityPolicies[out.NamespaceID]` is nil, client side doesn't handle nil which raises error.

* update changelog

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-28 15:34:59 -04:00

4 lines
124 B
Plaintext

```release-note:bug
auth/token: fixes an edge case bug that "identity_policies" is nil and causes cli vault login error
```