1description: >
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.
7          NotAllowed error thrown if certificate already exists.
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).
15
16      returns:
17        - name: ObjectPath
18          type: string
19          description: >
20              D-Bus object path to created object.
21
22      errors:
23        - xyz.openbmc_project.Common.Error.InternalFailure
24        - xyz.openbmc_project.Common.Error.NotAllowed
25        - xyz.openbmc_project.Certs.Error.InvalidCertificate
26