xref: /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Certs/Replace.interface.yaml (revision b1b4d2617e80de24563fad86d0dddece81410def)
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