Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add entity_alias to create_token #616

Open
thomaslarsen opened this issue Jul 28, 2020 · 0 comments
Open

Add entity_alias to create_token #616

thomaslarsen opened this issue Jul 28, 2020 · 0 comments
Labels
identity Identity secrets engine; identity management solution for Vault

Comments

@thomaslarsen
Copy link

The entiry_alias parameter seems to be missing on the create_token method.

This us used in conjunction with the allowed_entity_aliases in the create_token_role method to bind the token to an entity.

When I try to use the entiry_alias parameter, I get an error like this:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/src/app/flask_app/vault.py", line 130, in get_pipeline_token
    token_response = self.client.create_token(
TypeError: create_token() got an unexpected keyword argument 'entity_alias'

which is probably not surprising as it isn't defined on the method...

@thomaslarsen thomaslarsen changed the title Add entity_alias to create_token Add entity_alias to create_token Jul 28, 2020
@jeffwecan jeffwecan added the identity Identity secrets engine; identity management solution for Vault label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
identity Identity secrets engine; identity management solution for Vault
Projects
None yet
Development

No branches or pull requests

2 participants