Post-upgrade requirements
After upgrading to Ansible Automation Platform 2.7, update tokens, scripts, and integrations to use platform gateway for all external authentication and API access.
After upgrading to Ansible Automation Platform 2.7, perform the following actions:
- Regenerate tokens: Regenerate all Personal Access Tokens through platform gateway.
- Update CaC: Update Configuration as Code files to use platform gateway URLs.
- Update scripts: Update scripts and integrations to point to platform gateway.
- Update container registry: Re-authenticate to the container registry.
- Update collection connection parameters: Update playbooks that use
ansible.controller,ansible.hub, oransible.edacollections to point to the platform gateway hostname instead of direct component hostnames. For example, changecontroller_hostfromcontroller.example.comtogateway.example.com. Token parameters such ascontroller_oauthtokenmust use tokens created through platform gateway.
Validating gateway authentication after the 2.7 upgrade Copy linkLink copied!
After upgrading to Red Hat Ansible Automation Platform 2.7, validate that all platform components and integrations are functioning correctly with gateway-based authentication.
About this task Copy linkLink copied!
Validation checklist
Confirm the following results to ensure the upgrade was successful:
- Users can log in to the platform gateway UI.
- Direct access to component APIs (controller, hub, or EDA) returns an HTTP 401 Unauthorized response.
- Job templates launch successfully through the platform gateway API.
- Collections download from automation hub through the gateway.
- Container registry authentication works using
podman loginordocker login. - Event-Driven Ansible rulebook activations are in a Running state.
- Configuration as Code (CaC) playbooks execute successfully.
- Third-party authentication providers, such as LDAP or SAML, function through the gateway.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
In Ansible Automation Platform 2.7, authentication at the component level is disabled for external requests. An HTTP 401 Unauthorized response for direct component access is the correct behavior.
What to do next Copy linkLink copied!
If validation steps fail, see the following resources:
- For authentication issues, see Mandatory platform gateway authentication.
- For large uploads failing after upgrade, you may need to adjust gateway upload settings. For more information, see Configure platform gateway route timeouts.
- For operational issues, see the specific component documentation.
Verify your authentication configuration after upgrade Copy linkLink copied!
After upgrading to Ansible Automation Platform 2.7, verify that your authentication providers are configured and functioning in platform gateway.
About this task Copy linkLink copied!
In Ansible Automation Platform 2.7, all third-party authentication provider configuration has moved to platform gateway. Configuration in automation controller has been removed.
This applies to:
- LDAP
- SAML
- RADIUS
- TACACS+
- OAuth providers (GitHub, Google, Azure AD, Generic OIDC)
Procedure Copy linkLink copied!
- Log in to the platform gateway UI.
- Navigate to .
- Verify that all previously configured authentication providers are present and enabled.
- Test user login for each configured authentication method.
Personal Access Token removal in Ansible Automation Platform 2.7 Copy linkLink copied!
In Ansible Automation Platform 2.7, component-level Personal Access Tokens (PATs) have been removed. Tokens created directly in automation controller, automation hub, or Event-Driven Ansible controller in Ansible Automation Platform 2.6 or earlier no longer work in Ansible Automation Platform 2.7.
All tokens must now be created and managed through platform gateway.
Token migration timeline Copy linkLink copied!
- Ansible Automation Platform 2.5: Platform gateway introduced; component-level PATs deprecated.
- Ansible Automation Platform 2.6: PAT migration from components to platform gateway supported; component-level PATs still functional.
- Ansible Automation Platform 2.7: Component-level PATs removed; only platform gateway tokens supported.
ansible-galaxy CLI for collection operations (sync, install, publish). It is not supported for container registry operations such as podman login or podman pull of Execution Environment images. For execution environment image operations, use your username and password.Create new tokens after upgrade Copy linkLink copied!
Component-level tokens from automation controller, automation hub, or Event-Driven Ansible are not migrated to platform gateway during upgrade. After upgrading to Ansible Automation Platform 2.7, you must create new tokens through platform gateway.
Procedure Copy linkLink copied!
- Log in to the platform gateway UI.
- Navigate to .
- Create new tokens as needed.
- Update any scripts or integrations to use the new platform gateway tokens.