diff --git a/src/Volume.php b/src/Volume.php index a6280ae..f7347ec 100644 --- a/src/Volume.php +++ b/src/Volume.php @@ -265,7 +265,10 @@ protected function createAdapter() */ protected static function client($username, $apiKey) { - $config = ['username' => $username, 'apiKey' => $apiKey]; + $config = [ + 'username' => Craft::parseEnv($username), + 'apiKey' => Craft::parseEnv($apiKey) + ]; $client = new Rackspace(Rackspace::US_IDENTITY_ENDPOINT, $config);