So, I am generating the entity using /v1/identity/entity/name/:name, then consulting the mount accessor in /v1/sys/auth and creating a new entity alias with /v1/identity/entity-alias
I am not adding any policy, that's something I will do later, first I just want to give access to the UI.
So now I create the token /v1/auth/token/create, but I don't find a way to associate that token to the previously created entity.
How do I associate the token to the entity?
Hi Michel,
Thank you! I will try with Username/Password but when I consult the API:
https://www.vaultproject.io/api/auth/userpass/index.html
The Create user method doesn't use an EntityId so how do I associate the Entity or the AliasEntity and the Username/password created using the API?.
Best regards,
Antón
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Vault" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vault-tool/JTHx_OqoqR8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/311175e4-3d23-4aef-a0eb-475f1d10f0d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Michel,
I didn't see the relation between the entity alias and the auth
method but I got it now. Thanks!
I've created a couple of PRs just to avoid other users to figure out it:
https://github.com/hashicorp/vault/pull/6288
https://github.com/hashicorp/vault/pull/6289
Best regards,
Antón
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/5ab5ff3e-cd71-457e-88c7-6fb55d4f1895%40googlegroups.com.