config_inspect
Retrieve the full inspect payload of a swarm config by its id or name, including base64-encoded content and metadata.
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 |