| Server IP : _ / Your IP : 169.254.129.1 Web Server : nginx/1.28.0 System : Linux 25520b0e8825 6.6.139.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Sun May 17 06:19:38 UTC 2026 x86_64 User : nginx ( 103) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/src/wordpress/ |
Upload File : |
//Using managed identity to fetch MySQL access token
if (strtolower(getenv('ENABLE_MYSQL_MANAGED_IDENTITY')) === 'true') {
try {
require_once(ABSPATH . 'class_entra_database_token_utility.php');
if (strtolower(getenv('CACHE_MYSQL_ACCESS_TOKEN')) !== 'true') {
$connectstr_dbpassword = EntraID_Database_Token_Utilities::getAccessToken();
} else {
$connectstr_dbpassword = EntraID_Database_Token_Utilities::getOrUpdateAccessTokenFromCache();
}
} catch (RuntimeException $e) {
// An empty string displays a 502 HTTP error page rather than a database connection error page. So, using a dummy string instead.
$connectstr_dbpassword = '<dummy-value>';
error_log($e->getMessage());
}
}