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