Skip to main content
Version: v5.7.0

opschain secret ls

Included from Basic tier

opschain secret ls

Lists the local secret store's keys, sorted, one per line — never the values. With -o json or -o yaml the keys print as an array. First-use master-key notices go to stderr (see opschain docs cli/secret).

Exit codes​

CodeMeaning
0Listed (an empty store lists nothing and still exits 0).
1The store could not be opened.
2Usage error.

Examples​

opschain secret ls
api/token
db/password

See also​

  • opschain docs cli/secret-get, opschain docs cli/secret-delete.