1description: >
2    Certificate interface to replace existing certificate.
3methods:
4    - name: Replace
5      description: >
6          Replace the certificate and restart the associated services.
7      parameters:
8          - name: Path
9            type: string
10            description: >
11                Path of file that contains both the certificate public and
12                private key. (Example: a .PEM file containing both signed
13                certificate and private key).
14      errors:
15          - xyz.openbmc_project.Common.Error.InternalFailure
16          - xyz.openbmc_project.Certs.Error.InvalidCertificate
17          - xyz.openbmc_project.Common.Error.NotAllowed
18