summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-04-13 21:51:10 +0300
committerEd Tanous <ed@tanous.net>2024-05-03 03:48:07 +0300
commit1aa375b80075c7e1acdc9188440a62bab21b8651 (patch)
tree661662d0e68d52a8770fd3b0f5c36f472fb8a9d9 /Redfish.md
parent578556628ee1200d8b77d7caca3a27e427847f52 (diff)
downloadbmcweb-1aa375b80075c7e1acdc9188440a62bab21b8651.tar.xz
Implement client certificate schemas
The Redfish standard seems to have caught up with some of the OEM schemas and features we already have, namely MutualTLS and Basic Auth disablement. This commit implements most of the GET parameters for which we already have backends. ClientCertificate is pointed to the same resources as TrustStore. Tested: generate_auth_certificates.py succeeds, and shows a certificate in ClientCertificate collection Get AccountService, and ClientAuthentication/Certificates returns expected values. Redfish service validator passes. Change-Id: If18e34e9dfa8f38293fceff288596811afd16d4a Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'Redfish.md')
-rw-r--r--Redfish.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md
index 5e410ad616..cfee9d5110 100644
--- a/Redfish.md
+++ b/Redfish.md
@@ -62,6 +62,10 @@ Fields common to all schemas
- LDAP
- MaxPasswordLength
- MinPasswordLength
+- MultiFactorAuth/ClientCertificate/Certificates
+- MultiFactorAuth/ClientCertificate/CertificateMappingAttribute
+- MultiFactorAuth/ClientCertificate/Enabled
+- MultiFactorAuth/ClientCertificate/RespondToUnauthenticatedClients
- Oem/OpenBMC/AuthMethods/BasicAuth
- Oem/OpenBMC/AuthMethods/Cookie
- Oem/OpenBMC/AuthMethods/SessionToken
@@ -70,6 +74,31 @@ Fields common to all schemas
- Roles
- ServiceEnabled
+### /redfish/v1/AccountService/MultiFactorAuth/ClientCertificate/Certificates
+
+- Members
+- Members@odata.count
+
+### /redfish/v1/AccountService/MultiFactorAuth/ClientCertificate/Certificates/{Certificate}
+
+- CertificateString
+- Id
+- Issuer/City
+- Issuer/CommonName
+- Issuer/Country
+- Issuer/Organization
+- Issuer/OrganizationalUnit
+- Issuer/State
+- KeyUsage
+- Subject/City
+- Subject/Country
+- Subject/CommonName
+- Subject/Organization
+- Subject/OrganizationalUnit
+- Subject/State
+- ValidNotAfter
+- ValidNotBefore
+
### /redfish/v1/AggregationService/
#### AggregationService