List secrets
Changed onRequest
- Base URL/v1.57 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Query parameters
A JSON encoded value of the filters (a map[string][]string) to process on the secrets list.
Available filters:
- id=<secret id>
- label=<key> or label=<key>=value
- name=<secret name> matches all or part of a secret name (prefix match)
- names=<secret name> matches a secret name (exact match)
Response
no error
Example response
[
{
"ID": "blt1owaxmitz71s9v5zh81zun",
"Version": {
"Index": 85
},
"CreatedAt": "2017-07-20T13:55:28.678958722Z",
"UpdatedAt": "2017-07-20T13:55:28.678958722Z",
"Spec": {
"Name": "mysql-passwd",
"Labels": {
"some.label": "some.value"
},
"Driver": {
"Name": "secret-bucket",
"Options": {
"OptionA": "value for driver option A",
"OptionB": "value for driver option B"
}
}
}
},
{
"ID": "ktnbjxoalbkvbvedmg1urrz8h",
"Version": {
"Index": 11
},
"CreatedAt": "2016-11-05T01:20:17.327670065Z",
"UpdatedAt": "2016-11-05T01:20:17.327670065Z",
"Spec": {
"Name": "app-dev.crt",
"Labels": {
"foo": "bar"
}
}
}
]Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
api tag
Secretadded - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
the
/response's property format changed fromdateTimetodate-timefor status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
/response's property format changed fromdateTimetodate-timefor status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
api tag
Secretremoved - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status
- breaking