export [path] [version]
path path where the secrets are stored, usually secret
version version number of the kv backend mounted in that path
Will generate a json file named like the path provided
import [path]
path path where the secrets are stored, usually secret
Assumes there's a file called like the provided path with json extension
php export.php config 2 # exports all secrets in a file called config.json
php export.php secret 2
php export.php private 1
php import.php secret # exports all secrets from a file called import.json
One can use: