ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.5k stars 3.34k forks source link

add Azure config dump #15134

Open jessicamack opened 3 weeks ago

jessicamack commented 3 weeks ago
SUMMARY

dump_auth_config will now also dump Azure AD config data.

ISSUE TYPE
COMPONENT NAME
AWX VERSION
awx: 24.2.1.
ADDITIONAL INFORMATION

if Azure AD is not configured

    {
        "AZURE_missing_fields": [
            "KEY"
        ]
    }

if Azure AD is configured

    {
        "type": "ansible_base.authentication.authenticator_plugins.azuread",
        "name": "AZUREAD",
        "enabled": true,
        "create_objects": true,
        "users_unique": false,
        "remove_users": true,
        "configuration": {
            "CALLBACK_URL": "https://towerhost/sso/complete/azuread-oauth2/",
            "KEY": "b380e716-01ae-11ef-8fb0-0242ac140004",
            "SECRET": "test"
        }
    }