2017-03-27 05:10:58 -04:00
|
|
|
---
|
|
|
|
title: "secret"
|
|
|
|
description: "The secret command description and usage"
|
|
|
|
keywords: "secret"
|
|
|
|
---
|
|
|
|
|
2017-07-28 13:28:23 -04:00
|
|
|
<!-- This file is maintained within the docker/cli Github
|
|
|
|
repository at https://github.com/docker/cli/. Make all
|
2017-03-27 05:10:58 -04:00
|
|
|
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)
|