blob: dbbfcd874bf17baeb25d7996123b47963ff64a77 [file] [log] [blame]
Jayanth Othayoth06b4df92018-08-08 06:51:43 -05001description: >
2 Certificate management interface to install server and client certificates.
3methods:
4 - name: Install
5 description: >
6 Install the certificate and restart the associated services.
Marri Devender Raoffacd032019-03-16 16:28:49 -05007 NotAllowed error thrown if certificate already exists.
Jayanth Othayoth06b4df92018-08-08 06:51:43 -05008 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 Kurzynskie9c17a02019-09-27 10:27:43 +020015
16 returns:
17 - name: ObjectPath
18 type: string
19 description: >
20 D-Bus object path to created object.
21
Jayanth Othayoth06b4df92018-08-08 06:51:43 -050022 errors:
23 - xyz.openbmc_project.Common.Error.InternalFailure
Marri Devender Raoffacd032019-03-16 16:28:49 -050024 - xyz.openbmc_project.Common.Error.NotAllowed
25 - xyz.openbmc_project.Certs.Error.InvalidCertificate