CipherStash Documentation

Listing Collections in Your Workspace

If you need to list the existing collections in your workspace, you can do that with Stash::Client#collections. This returns an array of Stash::Collection objects, which describe the available collections.

For example:

require "cipherstash/client"

stash =

puts "Found #{stash.collections.length} collections in this workspace:"

stash.collections.each do |collection|
  puts "- #{}"