fix environment var based spec creds