Skip to content

Commit

Permalink
feat(entity-alias): return metadata when listing entity-aliases (#26073)
Browse files Browse the repository at this point in the history
* feat(entity-alias): return metadata when listing entity-aliases

* Add changelog

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
  • Loading branch information
pree and VioletHynes authored Jun 6, 2024
1 parent 1c44349 commit 9f5371d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/26073.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
identity: alias metadata is now returned when listing entity aliases
```
1 change: 1 addition & 0 deletions vault/identity_store_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -2497,6 +2497,7 @@ func (i *IdentityStore) handleAliasListCommon(ctx context.Context, groupAlias bo
"canonical_id": alias.CanonicalID,
"mount_accessor": alias.MountAccessor,
"custom_metadata": alias.CustomMetadata,
"metadata": alias.Metadata,
"local": alias.Local,
}

Expand Down

0 comments on commit 9f5371d

Please sign in to comment.