summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Certs/Install.interface.yaml
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2018-08-08 06:51:43 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-17 13:28:43 +0000
commit06b4df97b7f271154abb1d28716cb3a782a27e96 (patch)
treea0b2ff938c986d81002d1fd700fcfac815c55b88 /xyz/openbmc_project/Certs/Install.interface.yaml
parentc6cfd2ce938baa348a830748f06bf02a3e7a01c5 (diff)
downloadphosphor-dbus-interfaces-06b4df97b7f271154abb1d28716cb3a782a27e96.tar.gz
phosphor-dbus-interfaces-06b4df97b7f271154abb1d28716cb3a782a27e96.zip
Add interface to install certificate
An Interface to install the certificate provided by the user and activate the services associated to the certificate. README file provides the design details of uploading signed certificate and private key and activating the new certificate. Change-Id: Ib4e1ae2f957cce71698c2265bb733a04478b0abf Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Certs/Install.interface.yaml')
-rw-r--r--xyz/openbmc_project/Certs/Install.interface.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Certs/Install.interface.yaml b/xyz/openbmc_project/Certs/Install.interface.yaml
new file mode 100644
index 0000000..8781834
--- /dev/null
+++ b/xyz/openbmc_project/Certs/Install.interface.yaml
@@ -0,0 +1,16 @@
+description: >
+ Certificate management interface to install server and client certificates.
+methods:
+ - name: Install
+ description: >
+ Install the certificate and restart the associated services.
+ parameters:
+ - name: Path
+ type: string
+ description: >
+ Path of file that contains both the certificate public and
+ private key. (Example: a .PEM file containing both signed
+ certificate and private key).
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Certs.Install.Error.InvalidCertificate
OpenPOWER on IntegriCloud