2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
2016-08-01 15:08:42 +09:00
|
|
|
=================================================
|
|
|
|
Root certificates (os-certificates) (DEPRECATED)
|
|
|
|
=================================================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Creates and shows details for a root certificate.
|
|
|
|
|
2016-07-26 10:42:41 -04:00
|
|
|
.. warning::
|
2016-06-23 14:47:27 -04:00
|
|
|
|
|
|
|
This API existed solely because of the need to build euca bundles
|
|
|
|
when Nova had an in tree EC2 API. It no longer interacts with any
|
2017-04-24 17:57:57 -04:00
|
|
|
parts of the system besides its own certificate daemon. It was
|
|
|
|
removed in the 16.0.0 Pike release.
|
2016-06-23 14:47:27 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Create Root Certificate
|
|
|
|
=======================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: POST /os-certificates
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Creates a root certificate.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2016-05-10 22:34:38 +00:00
|
|
|
Error response codes: unauthorized(401), forbidden(403)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- certificate: certificate
|
|
|
|
- data: data
|
|
|
|
- private_key: private_key
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Example Create Root Certificate**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-certificates/certificate-create-resp.json
|
|
|
|
:language: javascript
|
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Show Root Certificate Details
|
|
|
|
=============================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
.. rest_method:: GET /os-certificates/root
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Shows details for a root certificate.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
Response
|
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
- certificate: certificate
|
|
|
|
- data: data
|
|
|
|
- private_key: private_key
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
|
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-31 09:20:30 -04:00
|
|
|
**Example Show Root Certificate Details**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-20 10:35:37 +09:00
|
|
|
.. literalinclude:: ../../doc/api_samples/os-certificates/certificate-get-root-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|