blob: 60ee343b645588a3138b9347ab0f1d33dd3a45b6 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills844b4152020-06-22 12:44:09 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/AccountService.v1_7_1.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/AccountService",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Gunnar Mills844b4152020-06-22 12:44:09 -05005 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "AccountProviderTypes": {
8 "enum": [
9 "RedfishService",
10 "ActiveDirectoryService",
11 "LDAPService",
12 "OEM"
13 ],
14 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -070015 "ActiveDirectoryService": "An external Active Directory service.",
16 "LDAPService": "A generic external LDAP service.",
17 "OEM": "An OEM-specific external authentication or directory service.",
Gunnar Mills844b4152020-06-22 12:44:09 -050018 "RedfishService": "An external Redfish service."
Ed Tanous118b1c72018-09-13 13:45:51 -070019 },
20 "enumLongDescriptions": {
Gunnar Mills844b4152020-06-22 12:44:09 -050021 "ActiveDirectoryService": "The external account provider shall be a Microsoft Active Directory Technical Specification-comformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) or NetBIOS names that links to the set of domain servers for the Active Directory service.",
22 "LDAPService": "The external account provider shall be an RFC4511-conformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) that links to the set of LDAP servers for the service.",
23 "RedfishService": "The external account provider shall be a DMTF Redfish Specification-comformant service. The ServiceAddresses format shall contain a set of URIs that correspond to a Redfish account service."
Ed Tanous118b1c72018-09-13 13:45:51 -070024 },
25 "type": "string"
26 },
27 "AccountService": {
28 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -050029 "description": "The AccountService schema defines an account service. The properties are common to, and enable management of, all user accounts. The properties include the password requirements and control features, such as account lockout. The schema also contains links to the manager accounts and roles.",
30 "longDescription": "This resource shall represent an account service for a Redfish implementation. The properties are common to, and enable management of, all user accounts. The properties include the password requirements and control features, such as account lockout.",
Ed Tanous118b1c72018-09-13 13:45:51 -070031 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070032 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070033 "description": "This property shall specify a valid odata or Redfish property.",
34 "type": [
35 "array",
36 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080037 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070038 "number",
39 "null",
40 "object",
41 "string"
42 ]
43 }
44 },
45 "properties": {
46 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070047 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous118b1c72018-09-13 13:45:51 -070048 },
49 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070050 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070051 },
52 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070053 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070054 },
55 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070056 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070057 },
58 "AccountLockoutCounterResetAfter": {
Ed Tanouscb103132019-10-08 11:34:22 -070059 "description": "The period of time, in seconds, between the last failed login attempt and the reset of the lockout threshold counter. This value must be less than or equal to the AccountLockoutDuration value. A reset sets the counter to `0`.",
60 "longDescription": "This property shall contain the period of time, in seconds, from the last failed login attempt when the AccountLockoutThreshold counter, which counts the number of failed login attempts, is reset to `0`. Then, AccountLockoutThreshold failures are required before the account is locked. This value shall be less than or equal to the AccountLockoutDuration value. The threshold counter also resets to `0` after each successful login. If the AccountLockoutCounterResetEnabled value is `false`, this property shall be ignored.",
Ed Tanous118b1c72018-09-13 13:45:51 -070061 "minimum": 0,
62 "readonly": false,
Ed Tanous530520e2019-01-02 13:41:37 -080063 "type": "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070064 "units": "s"
65 },
Ed Tanouscb103132019-10-08 11:34:22 -070066 "AccountLockoutCounterResetEnabled": {
67 "description": "An indication of whether the threshold counter is reset after AccountLockoutCounterResetAfter expires. If `true`, it is reset. If `false`, only a successful login resets the threshold counter and if the user reaches the AccountLockoutThreshold limit, the account will be locked out indefinitely and only an administrator-issued reset clears the threshold counter. If this property is absent, the default is `true`.",
68 "longDescription": "This property shall indicate whether the threshold counter is reset after the AccountLockoutCounterResetAfter expires. If `true`, it is reset. If `false`, only a successful login resets the threshold counter and if the user reaches the AccountLockoutThreshold limit, the account shall be locked out indefinitely and only an administrator-issued reset clears the threshold counter. If this property is absent, the default is `true`.",
69 "readonly": false,
70 "type": "boolean",
71 "versionAdded": "v1_5_0"
72 },
Ed Tanous118b1c72018-09-13 13:45:51 -070073 "AccountLockoutDuration": {
Ed Tanouscb103132019-10-08 11:34:22 -070074 "description": "The period of time, in seconds, that an account is locked after the number of failed login attempts reaches the account lockout threshold, within the period between the last failed login attempt and the reset of the lockout threshold counter. If this value is `0`, no lockout will occur. If the AccountLockoutCounterResetEnabled value is `false`, this property is ignored.",
75 "longDescription": "This property shall contain the period of time, in seconds, that an account is locked after the number of failed login attempts reaches the AccountLockoutThreshold value, within the AccountLockoutCounterResetAfter window of time. The value shall be greater than or equal to the AccountLockoutResetAfter value. If this value is `0`, no lockout shall occur. If AccountLockoutCounterResetEnabled value is `false`, this property shall be ignored.",
Ed Tanous118b1c72018-09-13 13:45:51 -070076 "minimum": 0,
77 "readonly": false,
78 "type": [
Ed Tanous530520e2019-01-02 13:41:37 -080079 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070080 "null"
81 ],
82 "units": "s"
83 },
84 "AccountLockoutThreshold": {
Ed Tanouscb103132019-10-08 11:34:22 -070085 "description": "The number of allowed failed login attempts before a user account is locked for a specified duration. If `0`, the account is never locked.",
86 "longDescription": "This property shall contain the threshold of failed login attempts before a user account is locked. If `0`, the account shall never be locked.",
Ed Tanous118b1c72018-09-13 13:45:51 -070087 "minimum": 0,
88 "readonly": false,
89 "type": [
Ed Tanous530520e2019-01-02 13:41:37 -080090 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070091 "null"
92 ]
93 },
94 "Accounts": {
95 "$ref": "http://redfish.dmtf.org/schemas/v1/ManagerAccountCollection.json#/definitions/ManagerAccountCollection",
Ed Tanouscb103132019-10-08 11:34:22 -070096 "description": "The collection of manager accounts.",
Gunnar Mills844b4152020-06-22 12:44:09 -050097 "longDescription": "This property shall contain a link to a resource collection of type ManagerAccountCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -070098 "readonly": true
99 },
100 "Actions": {
101 "$ref": "#/definitions/Actions",
Gunnar Mills844b4152020-06-22 12:44:09 -0500102 "description": "The available actions for this resource.",
103 "longDescription": "This property shall contain the available actions for this resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600104 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700105 },
106 "ActiveDirectory": {
107 "$ref": "#/definitions/ExternalAccountProvider",
Gunnar Mills844b4152020-06-22 12:44:09 -0500108 "description": "The first Active Directory external account provider that this account service supports.",
109 "longDescription": "This property shall contain the first Active Directory external account provider that this account service supports. If the account service supports one or more Active Directory services as an external account provider, this entity shall be populated by default. This entity shall not be present in the additional external account providers resource collection.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600110 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700111 },
112 "AdditionalExternalAccountProviders": {
113 "$ref": "http://redfish.dmtf.org/schemas/v1/ExternalAccountProviderCollection.json#/definitions/ExternalAccountProviderCollection",
Gunnar Mills844b4152020-06-22 12:44:09 -0500114 "description": "The additional external account providers that this account service uses.",
115 "longDescription": "This property shall contain a link to a resource collection of type ExternalAccountProviderCollection that represents the additional external account providers that this account service uses.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600116 "readonly": true,
117 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700118 },
119 "AuthFailureLoggingThreshold": {
Ed Tanouscb103132019-10-08 11:34:22 -0700120 "description": "The number of authorization failures that are allowed before the failed attempt is logged to the manager log.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500121 "longDescription": "This property shall contain the threshold for when an authorization failure is logged. Logging shall occur after every `n` occurrences of an authorization failure, where `n` represents the value of this property. If the value is `0`, logging of authorization failures shall be disabled.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700122 "minimum": 0,
123 "readonly": false,
Ed Tanous530520e2019-01-02 13:41:37 -0800124 "type": "integer"
Ed Tanous118b1c72018-09-13 13:45:51 -0700125 },
126 "Description": {
127 "anyOf": [
128 {
129 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
130 },
131 {
132 "type": "null"
133 }
134 ],
135 "readonly": true
136 },
137 "Id": {
138 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
139 "readonly": true
140 },
141 "LDAP": {
142 "$ref": "#/definitions/ExternalAccountProvider",
Gunnar Mills844b4152020-06-22 12:44:09 -0500143 "description": "The first LDAP external account provider that this account service supports.",
144 "longDescription": "This property shall contain the first LDAP external account provider that this account service supports. If the account service supports one or more LDAP services as an external account provider, this entity shall be populated by default. This entity shall not be present in the additional external account providers resource collection.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600145 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700146 },
147 "LocalAccountAuth": {
148 "$ref": "#/definitions/LocalAccountAuth",
Gunnar Mills844b4152020-06-22 12:44:09 -0500149 "description": "An indication of how the service uses the accounts collection within this account service as part of authentication. The enumerated values describe the details for each mode.",
150 "longDescription": "This property shall govern how the service uses the manager accounts resource collection within this account service as part of authentication. The enumerated values describe the details for each mode.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600151 "readonly": false,
152 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700153 },
154 "MaxPasswordLength": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500155 "description": "The maximum password length for this account service.",
156 "longDescription": "This property shall contain the maximum password length that the implementation allows for this account service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700157 "minimum": 0,
158 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -0800159 "type": "integer"
Ed Tanous118b1c72018-09-13 13:45:51 -0700160 },
161 "MinPasswordLength": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500162 "description": "The minimum password length for this account service.",
163 "longDescription": "This property shall contain the minimum password length that the implementation allows for this account service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700164 "minimum": 0,
165 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -0800166 "type": "integer"
Ed Tanous118b1c72018-09-13 13:45:51 -0700167 },
168 "Name": {
169 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
170 "readonly": true
171 },
172 "Oem": {
173 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700174 "description": "The OEM extension property.",
175 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700176 },
177 "PrivilegeMap": {
178 "$ref": "http://redfish.dmtf.org/schemas/v1/PrivilegeRegistry.json#/definitions/PrivilegeRegistry",
Gunnar Mills844b4152020-06-22 12:44:09 -0500179 "description": "The link to the mapping of the privileges required to complete a requested operation on a URI associated with this service.",
180 "longDescription": "This property shall contain a link to a resource of type PrivilegeMapping that contains the privileges that are required for a user context to complete a requested operation on a URI associated with this service.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600181 "readonly": true,
182 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700183 },
184 "Roles": {
185 "$ref": "http://redfish.dmtf.org/schemas/v1/RoleCollection.json#/definitions/RoleCollection",
Gunnar Mills844b4152020-06-22 12:44:09 -0500186 "description": "The collection of Redfish roles.",
187 "longDescription": "This property shall contain a link to a resource collection of type RoleCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700188 "readonly": true
189 },
190 "ServiceEnabled": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500191 "description": "An indication of whether the account service is enabled. If `true`, it is enabled. If `false`, it is disabled and users cannot be created, deleted, or modified, and new sessions cannot be started. However, established sessions might still continue to run. Any service, such as the session service, that attempts to access the disabled account service fails. However, this does not affect HTTP Basic Authentication connections.",
192 "longDescription": "This property shall indicate whether the account service is enabled. If `true`, it is enabled. If `false`, it is disabled and users cannot be created, deleted, or modified, and new sessions cannot be started. However, established sessions might still continue to run. Any service, such as the session service, that attempts to access the disabled account service fails. However, this does not affect HTTP Basic Authentication connections.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700193 "readonly": false,
194 "type": [
195 "boolean",
196 "null"
197 ]
198 },
199 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800200 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Gunnar Mills844b4152020-06-22 12:44:09 -0500201 "description": "The status and health of the resource and its subordinate or dependent resources.",
202 "longDescription": "This property shall contain any status or health properties of the resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700203 }
204 },
205 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800206 "@odata.id",
207 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700208 "Id",
209 "Name"
210 ],
211 "type": "object"
212 },
213 "Actions": {
214 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -0500215 "description": "The available actions for this resource.",
216 "longDescription": "This type shall contain the available actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700217 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700218 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700219 "description": "This property shall specify a valid odata or Redfish property.",
220 "type": [
221 "array",
222 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800223 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700224 "number",
225 "null",
226 "object",
227 "string"
228 ]
229 }
230 },
231 "properties": {
232 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -0800233 "$ref": "#/definitions/OemActions",
Gunnar Mills844b4152020-06-22 12:44:09 -0500234 "description": "The available OEM-specific actions for this resource.",
235 "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600236 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700237 }
238 },
239 "type": "object"
240 },
241 "Authentication": {
242 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700243 "description": "The information required to authenticate to the external service.",
244 "longDescription": "This type shall contain the information required to authenticate to the external service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700245 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700246 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700247 "description": "This property shall specify a valid odata or Redfish property.",
248 "type": [
249 "array",
250 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800251 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700252 "number",
253 "null",
254 "object",
255 "string"
256 ]
257 }
258 },
259 "properties": {
260 "AuthenticationType": {
261 "anyOf": [
262 {
263 "$ref": "#/definitions/AuthenticationTypes"
264 },
265 {
266 "type": "null"
267 }
268 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700269 "description": "The type of authentication used to connect to the external account provider.",
270 "longDescription": "This property shall contain the type of authentication used to connect to the external account provider.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600271 "readonly": false,
272 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700273 },
274 "KerberosKeytab": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500275 "description": "The Base64-encoded version of the Kerberos keytab for this service. A PATCH or PUT operation writes the keytab. This property is `null` in responses.",
276 "longDescription": "This property shall contain a Base64-encoded version of the Kerberos keytab for this service. A PATCH or PUT operation writes the keytab. The value shall be `null` in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700277 "readonly": false,
278 "type": [
279 "string",
280 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600281 ],
282 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700283 },
284 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -0800285 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700286 "description": "The OEM extension property.",
287 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600288 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700289 },
290 "Password": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500291 "description": "The password for this service. A PATCH or PUT request writes the password. This property is `null` in responses.",
292 "longDescription": "This property shall contain the password for this service. A PATCH or PUT operation writes the password. The value shall be `null` in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700293 "readonly": false,
294 "type": [
295 "string",
296 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600297 ],
298 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700299 },
300 "Token": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500301 "description": "The token for this service. A PATCH or PUT operation writes the token. This property is `null` in responses.",
302 "longDescription": "This property shall contain the token for this service. A PATCH or PUT operation writes the token. The value shall be `null` in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700303 "readonly": false,
304 "type": [
305 "string",
306 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600307 ],
308 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700309 },
310 "Username": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500311 "description": "The user name for the service.",
312 "longDescription": "This property shall contain the user name for this service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700313 "readonly": false,
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600314 "type": "string",
315 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700316 }
317 },
318 "type": "object"
319 },
320 "AuthenticationTypes": {
321 "enum": [
322 "Token",
323 "KerberosKeytab",
324 "UsernameAndPassword",
325 "OEM"
326 ],
327 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700328 "KerberosKeytab": "A Kerberos keytab.",
329 "OEM": "An OEM-specific authentication mechanism.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700330 "Token": "An opaque authentication token.",
Ed Tanouscb103132019-10-08 11:34:22 -0700331 "UsernameAndPassword": "A user name and password combination."
Ed Tanous118b1c72018-09-13 13:45:51 -0700332 },
333 "type": "string"
334 },
335 "ExternalAccountProvider": {
336 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700337 "description": "The external account provider services that can provide accounts for this manager to use for authentication.",
338 "longDescription": "This type shall contain properties that represent external account provider services that can provide accounts for this manager to use for authentication.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700339 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700340 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700341 "description": "This property shall specify a valid odata or Redfish property.",
342 "type": [
343 "array",
344 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800345 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700346 "number",
347 "null",
348 "object",
349 "string"
350 ]
351 }
352 },
353 "properties": {
354 "AccountProviderType": {
355 "anyOf": [
356 {
357 "$ref": "#/definitions/AccountProviderTypes"
358 },
359 {
360 "type": "null"
361 }
362 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700363 "deprecated": "This property is deprecated because the account provider type is known when used in the LDAP and ActiveDirectory objects.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500364 "description": "The type of external account provider to which this service connects.",
365 "longDescription": "This property shall contain the type of external account provider to which this service connects.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600366 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700367 "versionAdded": "v1_3_0",
368 "versionDeprecated": "v1_5_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700369 },
370 "Authentication": {
Ed Tanouscb103132019-10-08 11:34:22 -0700371 "$ref": "#/definitions/Authentication",
372 "description": "The authentication information for the external account provider.",
373 "longDescription": "This property shall contain the authentication information for the external account provider.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600374 "versionAdded": "v1_3_0"
375 },
376 "Certificates": {
377 "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700378 "description": "The link to a collection of certificates that the external account provider uses.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500379 "longDescription": "This property shall contain a link to a resource collection of type CertificateCollection that contains certificates the external account provider uses.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600380 "readonly": true,
381 "versionAdded": "v1_4_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700382 },
383 "LDAPService": {
Ed Tanouscb103132019-10-08 11:34:22 -0700384 "$ref": "#/definitions/LDAPService",
385 "description": "The additional mapping information needed to parse a generic LDAP service.",
386 "longDescription": "This property shall contain any additional mapping information needed to parse a generic LDAP service. This property should only be present inside the LDAP property.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600387 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700388 },
Gunnar Mills09b9d452020-02-11 13:27:39 -0600389 "PasswordSet": {
390 "description": "Indicates if the Password property is set.",
391 "longDescription": "This property shall contain `true` if a valid value was provided for the Password property. Otherwise, the property shall contain `false`.",
392 "readonly": true,
393 "type": "boolean",
394 "versionAdded": "v1_7_0"
395 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700396 "RemoteRoleMapping": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500397 "description": "The mapping rules to convert the external account providers account information to the local Redfish role.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700398 "items": {
399 "anyOf": [
400 {
401 "$ref": "#/definitions/RoleMapping"
402 },
403 {
404 "type": "null"
405 }
406 ]
407 },
Gunnar Mills844b4152020-06-22 12:44:09 -0500408 "longDescription": "This property shall contain a set of the mapping rules that are used to convert the external account providers account information to the local Redfish role.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600409 "type": "array",
410 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700411 },
412 "ServiceAddresses": {
Ed Tanouscb103132019-10-08 11:34:22 -0700413 "description": "The addresses of the user account providers to which this external account provider links. The format of this field depends on the type of external account provider.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700414 "items": {
415 "type": [
416 "string",
417 "null"
418 ]
419 },
Gunnar Mills844b4152020-06-22 12:44:09 -0500420 "longDescription": "This property shall contain the addresses of the account providers to which this external account provider links. The format of this field depends on the type of external account provider. Each item in the array shall contain a single address. Services can define their own behavior for managing multiple addresses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700421 "readonly": false,
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600422 "type": "array",
423 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700424 },
425 "ServiceEnabled": {
Ed Tanouscb103132019-10-08 11:34:22 -0700426 "description": "An indication of whether this service is enabled.",
427 "longDescription": "This property shall indicate whether this service is enabled.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700428 "readonly": false,
429 "type": [
430 "boolean",
431 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600432 ],
433 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700434 }
435 },
436 "type": "object"
437 },
438 "LDAPSearchSettings": {
439 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700440 "description": "The settings to search a generic LDAP service.",
441 "longDescription": "This type shall contain all required settings to search a generic LDAP service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700442 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700443 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700444 "description": "This property shall specify a valid odata or Redfish property.",
445 "type": [
446 "array",
447 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800448 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700449 "number",
450 "null",
451 "object",
452 "string"
453 ]
454 }
455 },
456 "properties": {
457 "BaseDistinguishedNames": {
Ed Tanouscb103132019-10-08 11:34:22 -0700458 "description": "The base distinguished names to use to search an external LDAP service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700459 "items": {
460 "type": [
461 "string",
462 "null"
463 ]
464 },
Ed Tanouscb103132019-10-08 11:34:22 -0700465 "longDescription": "This property shall contain an array of base distinguished names to use to search an external LDAP service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700466 "readonly": false,
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600467 "type": "array",
468 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700469 },
470 "GroupNameAttribute": {
Ed Tanouscb103132019-10-08 11:34:22 -0700471 "description": "The attribute name that contains the LDAP group name entry.",
472 "longDescription": "This property shall contain the attribute name that contains the LDAP group name.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700473 "readonly": false,
474 "type": [
475 "string",
476 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600477 ],
478 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700479 },
480 "GroupsAttribute": {
Ed Tanouscb103132019-10-08 11:34:22 -0700481 "description": "The attribute name that contains the groups for a user on the LDAP user entry.",
482 "longDescription": "This property shall contain the attribute name that contains the groups for an LDAP user entry.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700483 "readonly": false,
484 "type": [
485 "string",
486 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600487 ],
488 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700489 },
490 "UsernameAttribute": {
Ed Tanouscb103132019-10-08 11:34:22 -0700491 "description": "The attribute name that contains the LDAP user name entry.",
492 "longDescription": "This property shall contain the attribute name that contains the LDAP user name.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700493 "readonly": false,
494 "type": [
495 "string",
496 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600497 ],
498 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700499 }
500 },
501 "type": "object"
502 },
503 "LDAPService": {
504 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700505 "description": "The settings required to parse a generic LDAP service.",
506 "longDescription": "This type shall contain all required settings to parse a generic LDAP service.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700507 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700508 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700509 "description": "This property shall specify a valid odata or Redfish property.",
510 "type": [
511 "array",
512 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800513 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700514 "number",
515 "null",
516 "object",
517 "string"
518 ]
519 }
520 },
521 "properties": {
522 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -0800523 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700524 "description": "The OEM extension property.",
525 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600526 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700527 },
528 "SearchSettings": {
Ed Tanouscb103132019-10-08 11:34:22 -0700529 "$ref": "#/definitions/LDAPSearchSettings",
530 "description": "The required settings to search an external LDAP service.",
531 "longDescription": "This property shall contain the required settings to search an external LDAP service.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600532 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700533 }
534 },
535 "type": "object"
536 },
537 "LocalAccountAuth": {
538 "enum": [
539 "Enabled",
540 "Disabled",
Ed Tanouscb103132019-10-08 11:34:22 -0700541 "Fallback",
542 "LocalFirst"
Ed Tanous118b1c72018-09-13 13:45:51 -0700543 ],
544 "enumDescriptions": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500545 "Disabled": "The service never authenticates users based on the account service-defined accounts collection.",
546 "Enabled": "The service authenticates users based on the account service-defined accounts collection.",
547 "Fallback": "The service authenticates users based on the account service-defined accounts collection only if any external account providers are currently unreachable.",
548 "LocalFirst": "The service first authenticates users based on the account service-defined accounts collection. If authentication fails, the service authenticates by using external account providers."
Ed Tanous118b1c72018-09-13 13:45:51 -0700549 },
550 "enumLongDescriptions": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500551 "Disabled": "The service shall never authenticate users based on the account service-defined manager accounts resource collection.",
552 "Enabled": "The service shall authenticate users based on the account service-defined manager accounts resource collection.",
553 "Fallback": "The service shall authenticate users based on the account service-defined manager accounts resource collection only if any external account providers are currently unreachable.",
554 "LocalFirst": "The service shall first authenticate users based on the account service-defined manager accounts resource collection. If authentication fails, the service shall authenticate by using external account providers."
Ed Tanouscb103132019-10-08 11:34:22 -0700555 },
556 "enumVersionAdded": {
557 "LocalFirst": "v1_6_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700558 },
559 "type": "string"
560 },
561 "OemActions": {
562 "additionalProperties": true,
Gunnar Mills844b4152020-06-22 12:44:09 -0500563 "description": "The available OEM-specific actions for this resource.",
564 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700565 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700566 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700567 "description": "This property shall specify a valid odata or Redfish property.",
568 "type": [
569 "array",
570 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800571 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700572 "number",
573 "null",
574 "object",
575 "string"
576 ]
577 }
578 },
579 "properties": {},
580 "type": "object"
581 },
582 "RoleMapping": {
583 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -0500584 "description": "The mapping rules that are used to convert the external account providers account information to the local Redfish role.",
585 "longDescription": "This type shall contain mapping rules that are used to convert the external account providers account information to the local Redfish role.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700586 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700587 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700588 "description": "This property shall specify a valid odata or Redfish property.",
589 "type": [
590 "array",
591 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800592 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700593 "number",
594 "null",
595 "object",
596 "string"
597 ]
598 }
599 },
600 "properties": {
601 "LocalRole": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500602 "description": "The name of the local Redfish role to which to map the remote user or group.",
603 "longDescription": "This property shall contain the RoleId property value within a role resource on this Redfish service to which to map the remote user or group.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700604 "readonly": false,
605 "type": [
606 "string",
607 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600608 ],
609 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700610 },
611 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -0800612 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700613 "description": "The OEM extension property.",
614 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600615 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700616 },
617 "RemoteGroup": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500618 "description": "The name of the remote group, or the remote role in the case of a Redfish service, that maps to the local Redfish role to which this entity links.",
619 "longDescription": "This property shall contain the name of the remote group, or the remote role in the case of a Redfish service, that maps to the local Redfish role to which this entity links.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700620 "readonly": false,
621 "type": [
622 "string",
623 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600624 ],
625 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700626 },
627 "RemoteUser": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500628 "description": "The name of the remote user that maps to the local Redfish role to which this entity links.",
629 "longDescription": "This property shall contain the name of the remote user that maps to the local Redfish role to which this entity links.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700630 "readonly": false,
631 "type": [
632 "string",
633 "null"
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600634 ],
635 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700636 }
637 },
638 "type": "object"
639 }
640 },
641 "owningEntity": "DMTF",
Gunnar Mills09b9d452020-02-11 13:27:39 -0600642 "release": "2019.4",
Gunnar Mills844b4152020-06-22 12:44:09 -0500643 "title": "#AccountService.v1_7_1.AccountService"
Ed Tanous118b1c72018-09-13 13:45:51 -0700644}