spring-vault icon indicating copy to clipboard operation
spring-vault copied to clipboard

Support role_name and entity_alias in VaultTokenRequest

Open edmundham opened this issue 3 years ago • 1 comments

Hi all,

From the vault documentation for creating token through API call, https://www.vaultproject.io/api-docs/auth/token#create-token they have role_name and entity_alias. However, current (2.3.2 version) VaultTokenRequest does not support these parameters. https://github.com/spring-projects/spring-vault/blob/2.3.2/spring-vault-core/src/main/java/org/springframework/vault/support/VaultTokenRequest.java

Can the team look into adding these?

Thanks in advance!

edmundham avatar Mar 28 '22 16:03 edmundham

Feel free to submit a pull request.

mp911de avatar Mar 29 '22 07:03 mp911de