config_inspect
Retrieve a Docker swarm config's complete details and base64-encoded data by ID or name. Use this to inspect a specific config's metadata and contents after creation.
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.
Returns: dict: The config's full document (ID, CreatedAt, UpdatedAt, Spec{Name, Labels, Data base64})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |