Files
community.general/plugins/modules
Paul Fertser e853bdf6f9 Redfish: implement obtaining AccountService config (#9403)
Example result from querying OpenBMC's bmcweb Redfish server:

```
    changed: false
    failed: false
    redfish_facts:
        accountservice_config:
            entries:
                '@odata.id': /redfish/v1/AccountService
                '@odata.type': '#AccountService.v1_15_0.AccountService'
                AccountLockoutDuration: 0
                AccountLockoutThreshold: 0
                Accounts:
                    '@odata.id': /redfish/v1/AccountService/Accounts
                ActiveDirectory:
                    Authentication:
                        AuthenticationType: UsernameAndPassword
                        Password: null
                        Username: ''
                    LDAPService:
                        SearchSettings:
                            BaseDistinguishedNames:
                            - ''
                            GroupsAttribute: ''
                            UsernameAttribute: ''
                    RemoteRoleMapping: []
                    ServiceAddresses:
                    - ''
                    ServiceEnabled: false
                Description: Account Service
                HTTPBasicAuth: Enabled
                HTTPBasicAuth@AllowableValues:
                - Enabled
                - Disabled
                Id: AccountService
                LDAP:
                    Authentication:
                        AuthenticationType: UsernameAndPassword
                        Password: null
                        Username: ''
                    Certificates:
                        '@odata.id': /redfish/v1/AccountService/LDAP/Certificates
                    LDAPService:
                        SearchSettings:
                            BaseDistinguishedNames:
                            - ''
                            GroupsAttribute: ''
                            UsernameAttribute: ''
                    RemoteRoleMapping: []
                    ServiceAddresses:
                    - ''
                    ServiceEnabled: false
                MaxPasswordLength: 20
                MinPasswordLength: 8
                MultiFactorAuth:
                    ClientCertificate:
                        CertificateMappingAttribute: CommonName
                        Certificates:
                            '@odata.id': /redfish/v1/AccountService/MultiFactorAuth/ClientCertificate/Certificates
                            '@odata.type': '#CertificateCollection.CertificateCollection'
                            Members: []
                            Members@odata.count: 0
                        Enabled: true
                        RespondToUnauthenticatedClients: true
                Name: Account Service
                Oem:
                    OpenBMC:
                        '@odata.id': /redfish/v1/AccountService#/Oem/OpenBMC
                        '@odata.type': '#OpenBMCAccountService.v1_0_0.AccountService'
                        AuthMethods:
                            BasicAuth: true
                            Cookie: true
                            SessionToken: true
                            TLS: true
                            XToken: true
                Roles:
                    '@odata.id': /redfish/v1/AccountService/Roles
                ServiceEnabled: true
            ret: true
```

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2025-01-02 16:26:31 +01:00
..
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-31 12:47:19 +13:00
2024-12-31 12:47:19 +13:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:05 +01:00
2024-12-29 13:29:58 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-27 14:29:05 +01:00
2024-12-26 21:53:20 +01:00
2024-12-26 21:53:20 +01:00
2024-12-26 21:53:20 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:42:22 +01:00
2024-12-29 13:30:26 +01:00
2024-12-26 21:53:20 +01:00
2024-12-26 21:53:20 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:55:56 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-29 13:42:22 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:52:26 +01:00
2024-12-26 21:52:26 +01:00
2024-12-29 13:42:22 +01:00
2024-12-26 21:52:26 +01:00
2024-12-26 21:52:26 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 13:40:05 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 13:40:05 +01:00
2024-12-26 13:42:44 +01:00
2024-12-31 14:27:21 +13:00
2024-12-26 13:42:44 +01:00
2024-12-26 13:42:44 +01:00
2024-12-26 13:42:44 +01:00
2024-12-26 13:42:44 +01:00
2024-12-26 13:42:44 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 13:40:55 +01:00
2024-12-26 13:40:55 +01:00
2024-12-26 13:40:55 +01:00
2024-12-26 13:40:55 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 13:41:54 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-26 08:22:24 +01:00
2024-12-26 08:22:24 +01:00
2024-12-26 08:22:24 +01:00
2024-12-26 08:22:24 +01:00
2024-12-26 08:22:24 +01:00
2024-12-26 08:22:24 +01:00
2024-12-29 13:29:58 +01:00
2024-12-25 22:48:04 +01:00
2024-12-25 22:48:04 +01:00
2024-12-25 22:48:04 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-25 22:48:04 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-29 13:42:22 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:16:10 +01:00
2024-12-25 21:16:10 +01:00
2024-12-25 21:16:10 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-29 13:42:22 +01:00
2024-12-30 23:38:32 +01:00
2024-12-30 23:38:32 +01:00
2024-12-30 23:38:32 +01:00
2024-12-30 23:38:32 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 00:25:12 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2024-12-29 13:29:58 +01:00
2024-12-25 09:48:22 +01:00
2024-12-25 09:48:22 +01:00
2024-12-25 09:48:22 +01:00
2024-12-29 00:25:12 +01:00
2024-12-25 09:48:22 +01:00
2024-12-29 00:25:12 +01:00
2024-12-29 00:25:12 +01:00
2024-12-30 19:53:43 +01:00
2024-12-29 00:25:12 +01:00
2024-12-25 09:48:22 +01:00
2024-12-29 00:25:12 +01:00
2024-12-25 09:48:22 +01:00
2024-12-25 09:48:22 +01:00
2024-12-25 09:48:22 +01:00
2024-12-25 09:48:22 +01:00
2024-12-24 11:59:56 +01:00
2024-12-29 00:25:12 +01:00
2024-12-29 00:25:12 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 00:25:12 +01:00
2024-12-24 11:59:56 +01:00
2024-12-29 00:25:12 +01:00
2024-12-29 00:25:12 +01:00
2024-12-24 12:00:30 +01:00
2024-12-29 13:29:58 +01:00
2024-12-24 12:00:30 +01:00
2024-12-24 12:00:30 +01:00
2024-12-24 12:00:30 +01:00
2024-12-24 12:00:30 +01:00
2024-12-24 12:00:30 +01:00
2024-12-23 21:30:11 +01:00
2024-12-29 00:25:12 +01:00
2024-12-29 13:29:58 +01:00
2024-12-23 09:28:05 +01:00
2024-12-23 09:28:05 +01:00
2024-12-23 09:28:05 +01:00
2024-12-29 00:25:12 +01:00
2024-12-23 09:28:05 +01:00
2024-12-23 09:28:05 +01:00
2024-12-29 13:29:58 +01:00
2024-12-29 00:25:12 +01:00
2024-12-23 09:28:05 +01:00
2024-12-23 18:58:02 +01:00
2024-12-23 18:58:02 +01:00
2024-12-23 18:58:02 +01:00
2024-12-29 00:25:12 +01:00
2024-12-23 18:58:02 +01:00
2024-12-29 13:29:58 +01:00
2024-12-21 17:03:12 +01:00
2024-12-23 09:40:39 +01:00
2024-12-21 23:42:54 +01:00
2024-12-23 09:40:39 +01:00
2024-12-23 09:40:39 +01:00