List Container Certificates

Lists all certificates that have been generated for this instance's container.

Returns

Returns a list of container certificate resources, otherwise returns an Error.

GET /v1/container/certificates

Example Request
$ curl --unix-socket /var/run/cycle/api/api.sock http://internal.cycle/v1/container/certificates \
-H "x-cycle-token: $CYCLE_API_TOKEN"
Example Response
{
"data": [
{
"data": [
{
"id": "5df195ffdb2ab00001a3dd31",
"domains": [
"*.env.cert.thescentofrain.com",
"cert.thescentofrain.com",
"www.cert.thescentofrain.com"
],
"private_key": "-----BEGIN RSA PRIVATE KEY-----\nQIREpQIBAAKCAQEAvlQOwVCmG4wqVUBPNixAhG3TZV6mxT2frVGsPd8FSK5GvTUf\n5WzhaZLrkS5NfCIJOvCPkRQKjdblm98AOvcvNviHtveOPxnOv/GM+n6SGItRD0hR\nazkIY95ByoDCUfPAzvbG8/og2/xc/YVLbNcm65+0JRQdYIOFJmdxFyLfgW/NKqfV\n4qG0MyM2Qq4z2NHhLQJgUy2kWHdvhpaWB+5hpwe6GkMQX8f8BQZL512WHubisyGW\nM/fS0s3AoyCAEjLj3ayjDtWpyUGXqV6ZlFv8RuwE86MFar/56m+GJDcUCsHKhMqt\nPkCz0dBUmZ5psDZFjKYQUV0UglOwqAN5MyWS1QIDAQABAoIBAQCMnkYYhaF0EObl\n/ZGIkMFKFmptJrVIXPMwdnsvayrYPAp/mFRsiTkxax8oMHGHGQ6AwWMQ6SGzEeaq\nduQQrLfxgUWj5Nrvu/2IyspB+GmwQJ4vEFs3QPf18Svilab8LX9yadksQM0uOxHp\nLSZAz+UtiNzr2CSsPf+OFDb1xQok8lKUCI1FRGIpxl/u0UUREZcsNdKb185S4uJG\nxTaM26zDa7vJxynkELvhAJvBLwDKqtFC7+ncduQdNJ6NF65mTOg4U0/FPHjsLHbB\nRfnN50ab0SovnpFxVwMh9bcLyICE+3jl73IBcW2B1BMyrz3EuAeOcujRtPRdhEhs\nYmC4KiGBAoGBAOk/qroFt/iumPUZKGvOwZ+9lCIuQ94/FWgMfCXJbz49ELARbEp7\n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