question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: bulk delete in a directory

See original GitHub issue

The Release Integration team is adding credhub support in cf-deployment-concourse-tasks.

For fresh deploys we would like to ensure that there are no credentials stored in CredHub prior to deploy. For vars store, it was pretty simple: we just threw away the vars store file.

To enable credhub, we have to do something like this:

for cred in `credhub f -j | jq -r .credentials[].name`; do credhub d -n $cred; done

Given 80+ credentials needed for cf-deployment, this is pretty slow and inconvenient. SOCKS5 proxy slows down connections even more.

We would love to have something like

credhub delete -p /my-bosh-director/cf

which will delete all credentials in a certain directory.

What version of the credhub server you are using? v1.6.5

What version of the credhub cli you are using? v1.7.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
athornton2012commented, Oct 1, 2018

@ishustava seems like a good feature! Thanks for submitting. Will have @crawsible prioritize as necessary.

0reactions
jknostman3commented, Aug 26, 2020

I am closing this issue as this work was completed in the following story: https://www.pivotaltracker.com/story/show/171446867. Please let us know if that doesn’t satisfy the issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: bulk delete in a directory · Issue #34 - GitHub
I have a collection of credentials for which credhub is not the system of record. These are held in a separate folder within...
Read more >
bulk delete – Adobe XD Feedback : Feature Requests & Bugs
Description of the feature: Bulk delete disabled ids from Directory users ... If possible, an image or video that helps us understand your...
Read more >
Feature Request: Batch delete for remote file search
Currently when I attempt to do this, the pop-up window says "Deleting multiple unrelated directories is not yet supported" Thanks.
Read more >
FAQ: Is it possible to batch delete features in ArcGIS Online?
In the ArcGIS REST Service Directory, scroll down to the Supported Operations, and click Delete Feature. Note that this option is only available ......
Read more >
Auto-Delete or Bulk-Delete Blank Notes - Drafts Community
It utilises the TA_trashEmptyDrafts() draft function. That function also returns the number of drafts moved to trash if you wanted to build it ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found