config_inspect
Retrieve a Docker Swarm config's full metadata and base64-encoded contents by ID or name. Use this to read payload data and details that a config list cannot provide.
Instructions
Get a swarm config's full inspect payload by id or name.
Requires a swarm manager. Unlike a secret, a config's payload IS readable after creation:
Spec.Data in the result holds the base64-encoded contents. Use config_list to enumerate
configs; use this to read one config's contents and metadata.
args: id_or_name - The config id or name returns: dict - The config's attrs (ID, CreatedAt, UpdatedAt, Spec{Name, Labels, Data base64})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |