Skip to main content

Move secrets into a folder

A secret's folder is part of its name: team/jira sits in the folder team. To tidy many secrets at once, tick them and move them together. Each keeps its own last name part: a/b/jira moved to team becomes team/jira.

Who can do this: anyone, for secrets they may change. If you may not change one of the ticked secrets, the whole move is refused and the message names it.

Move them​

  1. In the sidebar, select Directory, then the Secrets tab.
  2. If the list is grouped into folders, select Tree view at the end of the filters to go back to the flat list. Ticks are only in the flat list.
  3. Narrow the list with the filters, if that helps you find the secrets.
  4. Tick the box at the right end of each secret's row. To take every row shown, tick the box in the header row; then Select all N matching takes every secret the filters match, not just the ones loaded.
  5. In the bar above the list, select Move to folder.
  6. Type the Folder, for example team/service. Leave it empty to move them to the top level.
  7. Select Move N, where N is how many you ticked.
  8. Check the message saying how many moved, and the new names in the list.

The move is all or nothing. Nothing changes when a moved name is already taken in its home, or when the secrets matching the filters changed since you confirmed: review and try again. One move takes at most 10,000 secrets.

To move a single secret, drag it onto a folder in Tree view, or rename it. The list's checkboxes and bar are described in the Secrets reference. How names and owners work is in How secrets work; to remove secrets instead, see Replace or delete a secret.