{ "opencollection": "1.0.0", "info": { "name": "supports a RESTful API for the Libpod library artifacts secrets API", "version": "5.0.0" }, "items": [ { "info": { "name": "secrets", "type": "folder" }, "items": [ { "info": { "name": "Remove secret", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/libpod/secrets/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "the name or ID of the secret" }, { "name": "all", "value": "", "type": "query", "description": "Remove all secrets" } ] }, "docs": "Remove secret" }, { "info": { "name": "Secret exists", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/libpod/secrets/:name/exists", "params": [ { "name": "name", "value": "", "type": "path", "description": "the name or ID of the secret" } ] }, "docs": "Secret exists" }, { "info": { "name": "Inspect secret", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/libpod/secrets/:name/json", "params": [ { "name": "name", "value": "", "type": "path", "description": "the name or ID of the secret" }, { "name": "showsecret", "value": "", "type": "query", "description": "Display Secret" } ] }, "docs": "Inspect secret" }, { "info": { "name": "Create a secret", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/libpod/secrets/create", "params": [ { "name": "name", "value": "", "type": "query", "description": "User-defined name of the secret." }, { "name": "driver", "value": "", "type": "query", "description": "Secret driver" }, { "name": "driveropts", "value": "", "type": "query", "description": "JSON-encoded string containing secret driver options as a `map[string]string`." }, { "name": "labels", "value": "", "type": "query", "description": "JSON-encoded string containing labels as a `map[string]string`." }, { "name": "replace", "value": "", "type": "query", "description": "Replace an existing secret with the same name." }, { "name": "ignore", "value": "", "type": "query", "description": "Ignore the request if a secret with the same name already exists." } ] }, "docs": "Create a secret" }, { "info": { "name": "List secrets", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/libpod/secrets/json", "params": [ { "name": "filters", "value": "", "type": "query", "description": "JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters:\n - `name=[name]` Matches secrets name (accepts regex).\n - `id=[id]` Matches for full or partial ID.\n" } ] }, "docs": "Returns a list of secrets" } ] } ], "bundled": true }