mirror of https://github.com/docker/cli.git
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
---
|
|
title: "secret"
|
|
description: "The secret command description and usage"
|
|
keywords: "secret"
|
|
---
|
|
|
|
<!-- This file is maintained within the docker/cli GitHub
|
|
repository at https://github.com/docker/cli/. Make all
|
|
pull requests against that repo. If you see this file in
|
|
another repository, consider it read-only there, as it will
|
|
periodically be overwritten by the definitive file. Pull
|
|
requests which include edits to this file in other repositories
|
|
will be rejected.
|
|
-->
|
|
|
|
# secret
|
|
|
|
```markdown
|
|
Usage: docker secret COMMAND
|
|
|
|
Manage Docker secrets
|
|
|
|
Options:
|
|
--help Print usage
|
|
|
|
Commands:
|
|
create Create a secret from a file or STDIN as content
|
|
inspect Display detailed information on one or more secrets
|
|
ls List secrets
|
|
rm Remove one or more secrets
|
|
|
|
Run 'docker secret COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
## Description
|
|
|
|
Manage secrets.
|
|
|
|
## Related commands
|
|
|
|
* [secret create](secret_create.md)
|
|
* [secret inspect](secret_inspect.md)
|
|
* [secret list](secret_list.md)
|
|
* [secret rm](secret_rm.md)
|