mirror of https://github.com/docker/docs.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			605 B
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			605 B
		
	
	
	
		
			YAML
		
	
	
	
command: docker secret ls
 | 
						|
aliases: list
 | 
						|
short: List secrets
 | 
						|
long: Run this command on a manager node to list the secrets in the swarm.
 | 
						|
usage: docker secret ls [OPTIONS]
 | 
						|
pname: docker secret
 | 
						|
plink: docker_secret.yaml
 | 
						|
options:
 | 
						|
- option: quiet
 | 
						|
  shorthand: q
 | 
						|
  default_value: "false"
 | 
						|
  description: Only display IDs
 | 
						|
examples: |-
 | 
						|
  ```bash
 | 
						|
  $ docker secret ls
 | 
						|
 | 
						|
  ID                          NAME                    CREATED                                   UPDATED
 | 
						|
  mhv17xfe3gh6xc4rij5orpfds   secret.json             2016-10-27 23:25:43.909181089 +0000 UTC   2016-10-27 23:25:43.909181089 +0000 UTC
 | 
						|
  ```  
 | 
						|
 |