mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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/docker Github
|
||
|
repository at https://github.com/docker/docker/. 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)
|