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

APP-ID + Service Discovery Deleting userid Issue #1448

Closed
ashishrathore1 opened this issue May 25, 2016 · 1 comment
Closed

APP-ID + Service Discovery Deleting userid Issue #1448

ashishrathore1 opened this issue May 25, 2016 · 1 comment

Comments

@ashishrathore1
Copy link

ashishrathore1 commented May 25, 2016

We are using app-id and service discovery approach to register different services in vault.Our approach is as follow:

  1. Our service discovery write its content in zookeeper whenever new service comes up in its znode.
    e.g /services/service_name/component/hosts
  2. 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.
  3. 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.
  4. 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.
  5. 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 .
@ashishrathore1 ashishrathore1 changed the title APP-ID + Service Discovery Deleting userid APP-ID + Service Discovery Deleting userid Issue May 25, 2016
@jefferai
Copy link
Member

Duplicate of #1320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants