Accessing authentication credentials through settings.php

Created on 4 November 2019, over 5 years ago
Updated 14 July 2025, 20 days ago

On a Drupal 8 website, we have enabled the integration with PoolParty successfully and then tried to move the authentication credentials to settings.local.php but we have discovered that even though the integration still works, the configuration interface still shows a lot of errors, by not seeing the overridden credentials.

In the configuration form we have inputted empty values for the credentials and in the settings.local.php we override them the following way:
$config['semantic_connector.pp_server_connection.brs_dev_server']['credentials']['username'] = 'secret_username';
$config['semantic_connector.pp_server_connection.brs_dev_server']['credentials']['password'] = "secret_password";

As I said before, the semantic connector works properly but the configuration interface still shows a lot of errors:

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡·πŸ‡΄Romania Kopezaur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    This is still happening in the 2.x version.

    Please create a release for the 2.x branch so we can create merge requests for it.

Production build 0.71.5 2024