1
0
mirror of https://github.com/docker/cli.git synced 2025-09-11 06:30:44 +03:00
Files
cli/docs/reference/commandline/secret_ls.md
2017-06-02 00:10:36 +00:00

1.2 KiB

title, description, keywords
title description keywords
secret ls The secret ls command description and usage
secret, ls

secret ls

Usage:	docker secret ls [OPTIONS]

List secrets

Aliases:
  ls, list

Options:
  -q, --quiet          Only display IDs

Run this command from a manager to list the secrets in the Swarm.

On a manager node:

$ docker secret ls
ID                          NAME                    CREATED                                   UPDATED                                   SIZE
mhv17xfe3gh6xc4rij5orpfds   secret.json             2016-10-27 23:25:43.909181089 +0000 UTC   2016-10-27 23:25:43.909181089 +0000 UTC   1679