blob: 209b0cd7e8095310828ad79cc07befa653a77bca [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:
Patrick Williams8da396c2022-03-14 14:21:02 -05009 - 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:
Patrick Williams8da396c2022-03-14 14:21:02 -050017 - name: ObjectPath
18 type: string
19 description: >
20 D-Bus object path to created object.
Zbigniew Kurzynskie9c17a02019-09-27 10:27:43 +020021
Jayanth Othayoth06b4df92018-08-08 06:51:43 -050022 errors:
Patrick Williams8da396c2022-03-14 14:21:02 -050023 - xyz.openbmc_project.Common.Error.InternalFailure
24 - xyz.openbmc_project.Common.Error.NotAllowed
25 - xyz.openbmc_project.Certs.Error.InvalidCertificate