blob: bf35d2f808dce046b13631dcd1e1737bdb5bdb9b [file] [log] [blame]
Marri Devender Raoffacd032019-03-16 16:28:49 -05001description: >
2 Certificate interface to replace existing certificate.
3methods:
4 - name: Replace
5 description: >
6 Replace the certificate and restart the associated services.
7 parameters:
Patrick Williams8da396c2022-03-14 14:21:02 -05008 - 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).
Marri Devender Raoffacd032019-03-16 16:28:49 -050014 errors:
Patrick Williams8da396c2022-03-14 14:21:02 -050015 - xyz.openbmc_project.Common.Error.InternalFailure
16 - xyz.openbmc_project.Certs.Error.InvalidCertificate
17 - xyz.openbmc_project.Common.Error.NotAllowed