Create a secret
Changed onRequest
- Base URL/v1.57 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Request body
Example request
{
"Name": "app-key.crt",
"Labels": {
"foo": "bar"
},
"Data": "VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg==",
"Driver": {
"Name": "secret-bucket",
"Options": {
"OptionA": "value for driver option A",
"OptionB": "value for driver option B"
}
}
}Response
no error
Changes
- breaking
removed the request body
- breaking
removed the success 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
- info
added the non-success response with the status
- info
added the success response with the status
- breaking
- breaking
request body became required
- breaking
the request's body type changed from no type to
object - breaking
removed the success response with the status
- warning
removed
subschema #2from the request bodyallOflist - info
api tag
Secretremoved - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added the success response with the status
- breaking