---
name: "docker-secret-inspect"
section: "1"
platform: "linux"
package: "docker"
version: "1:29.9.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/docker-secret-inspect"
---

# docker-secret-inspect(1)

Display detailed information on one or more secrets

## NAME

docker-secret-inspect - Display detailed information on one or more secrets

## SYNOPSIS

**docker secret inspect \[OPTIONS\] SECRET \[SECRET...\]**

## DESCRIPTION

Display detailed information on one or more secrets

## OPTIONS

**-f**, **--format**=""\
 	Format output using a custom 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

**--pretty**\[=false\]\
 	Print the information in a human friendly format

## SEE ALSO

**[docker-secret(1)](/docker-secret/1.md)**
