# How to map iam user with vault lease

**URL:** <https://discuss.hashicorp.com/t/how-to-map-iam-user-with-vault-lease/29152>\
**Category:** Vault\
**Created:** [September 6, 2021, 3:00am UTC](https://discuss.hashicorp.com/t/how-to-map-iam-user-with-vault-lease/29152 "2021-09-06T03:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hairongGao](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/haironggao/32/22120_2.png) [@hairongGao](https://discuss.hashicorp.com/u/hairongGao)\
**Post date:** [September 6, 2021, 3:00am UTC](https://discuss.hashicorp.com/t/how-to-map-iam-user-with-vault-lease/29152/1 "2021-09-06T03:00:03Z")

</div>

Hi there,

I’m working on vault secret engine with aws. So here is the story when I execute vault read aws/creds/my-role and generate a new user , is there any method that I can map the vault-root-my-role-1630894443-4570 with my lease so that I can store the mapping like

lease-id —\> vault-root-my-role-1630894443-4570

Thanks,  
Ray
