secret_create
Create a Docker Swarm secret with a name and binary data. Optionally set labels and a driver configuration.
Instructions
Create a swarm secret.
args: name - The name of the secret data - The secret payload labels - Labels to set on the secret driver - Optional secret driver configuration returns: dict - The created secret's attrs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| driver | No | ||
| labels | No |