Jayanth Othayoth | 06b4df9 | 2018-08-08 06:51:43 -0500 | [diff] [blame] | 1 | description: > |
| 2 | Certificate management interface to install server and client certificates. |
| 3 | methods: |
| 4 | - name: Install |
| 5 | description: > |
| 6 | Install the certificate and restart the associated services. |
Marri Devender Rao | ffacd03 | 2019-03-16 16:28:49 -0500 | [diff] [blame] | 7 | NotAllowed error thrown if certificate already exists. |
Jayanth Othayoth | 06b4df9 | 2018-08-08 06:51:43 -0500 | [diff] [blame] | 8 | parameters: |
| 9 | - name: Path |
| 10 | type: string |
| 11 | description: > |
| 12 | Path of file that contains both the certificate public and |
| 13 | private key. (Example: a .PEM file containing both signed |
| 14 | certificate and private key). |
Zbigniew Kurzynski | e9c17a0 | 2019-09-27 10:27:43 +0200 | [diff] [blame] | 15 | |
| 16 | returns: |
| 17 | - name: ObjectPath |
| 18 | type: string |
| 19 | description: > |
| 20 | D-Bus object path to created object. |
| 21 | |
Jayanth Othayoth | 06b4df9 | 2018-08-08 06:51:43 -0500 | [diff] [blame] | 22 | errors: |
| 23 | - xyz.openbmc_project.Common.Error.InternalFailure |
Marri Devender Rao | ffacd03 | 2019-03-16 16:28:49 -0500 | [diff] [blame] | 24 | - xyz.openbmc_project.Common.Error.NotAllowed |
| 25 | - xyz.openbmc_project.Certs.Error.InvalidCertificate |