.nh .TH "DOCKER" "1" "Sep 2024" "Docker Community" "Docker User Manuals" .SH NAME .PP docker-secret-ls - List secrets .SH SYNOPSIS .PP \fBdocker secret ls [OPTIONS]\fP .SH DESCRIPTION .PP List secrets .SH OPTIONS .PP \fB-f\fP, \fB--filter\fP= Filter output based on conditions provided .PP \fB--format\fP="" Format output using a custom template: \&'table': Print output in table format with column headers (default) \&'table TEMPLATE': Print output in table format using the given Go template \&'json': Print in JSON format \&'TEMPLATE': Print output using the given Go template. Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates .PP \fB-h\fP, \fB--help\fP[=false] help for ls .PP \fB-q\fP, \fB--quiet\fP[=false] Only display IDs .SH SEE ALSO .PP \fBdocker-secret(1)\fP