You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using app-id and service discovery approach to register different services in vault.Our approach is as follow:
Our service discovery write its content in zookeeper whenever new service comes up in its znode.
e.g /services/service_name/component/hosts
We have written watcher which monitors root znode i.e. /services and whenever new service comes up lets say /services/service1/comp1/host1 with content {hostname:host1} which is always unique.
Now we take service1+comp1 and generate app-id with this. and using host1 contents i.e {hostname:host1} generate userid and after mapping these we create user in vault.
Now when service gets down its znode gets deleted but as znode gets deleted from vault we cannot get its content i.e {hostname:host1} so cannot get user-id . But we want to remove userid when host gets removed or app-id when service gets removed.
The problem with vault is that we cannot list app-id or user id so is there any way to remove userid as we cannot get .
The text was updated successfully, but these errors were encountered:
ashishrathore1
changed the title
APP-ID + Service Discovery Deleting userid
APP-ID + Service Discovery Deleting userid Issue
May 25, 2016
We are using app-id and service discovery approach to register different services in vault.Our approach is as follow:
e.g /services/service_name/component/hosts
The text was updated successfully, but these errors were encountered: