 2bcee77e3b
			
		
	
	2bcee77e3b
	
	
	
		
			
			This commit removes nova-cert which has been deprecated since change Id7a1fc943cbe6d860a50d3cc776717b55351004b. The APIs have been hard coded to return a 410 whenever they're called now. For the API ref a new section for obsolete apis is added to the bottom of the page and the certificates api ref is moved there. Implements bp remove-nova-cert Change-Id: I2c78a0c6599b92040146cf9f0042cff8fd2509c3
		
			
				
	
	
		
			69 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| .. -*- rst -*-
 | |
| 
 | |
| =================================================
 | |
|  Root certificates (os-certificates) (DEPRECATED)
 | |
| =================================================
 | |
| 
 | |
| Creates and shows details for a root certificate.
 | |
| 
 | |
| .. warning::
 | |
| 
 | |
|    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
 | |
|    parts of the system besides its own certificate daemon. It was
 | |
|    removed in the 16.0.0 Pike release.
 | |
| 
 | |
| Create Root Certificate
 | |
| =======================
 | |
| 
 | |
| .. rest_method:: POST /os-certificates
 | |
| 
 | |
| Creates a root certificate.
 | |
| 
 | |
| Normal response codes: 200
 | |
| 
 | |
| Error response codes: unauthorized(401), forbidden(403)
 | |
| 
 | |
| Response
 | |
| --------
 | |
| 
 | |
| .. rest_parameters:: parameters.yaml
 | |
| 
 | |
|   - certificate: certificate
 | |
|   - data: data
 | |
|   - private_key: private_key
 | |
| 
 | |
| |
 | |
| 
 | |
| **Example Create Root Certificate**
 | |
| 
 | |
| .. literalinclude:: ../../doc/api_samples/os-certificates/certificate-create-resp.json
 | |
|    :language: javascript
 | |
| 
 | |
| Show Root Certificate Details
 | |
| =============================
 | |
| 
 | |
| .. rest_method:: GET /os-certificates/root
 | |
| 
 | |
| Shows details for a root certificate.
 | |
| 
 | |
| Normal response codes: 200
 | |
| 
 | |
| Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), notImplemented(501)
 | |
| 
 | |
| Response
 | |
| --------
 | |
| 
 | |
| .. rest_parameters:: parameters.yaml
 | |
| 
 | |
|   - certificate: certificate
 | |
|   - data: data
 | |
|   - private_key: private_key
 | |
| 
 | |
| |
 | |
| 
 | |
| **Example Show Root Certificate Details**
 | |
| 
 | |
| .. literalinclude:: ../../doc/api_samples/os-certificates/certificate-get-root-resp.json
 | |
|    :language: javascript
 |