Changed variable for retrieving access credentials since the previous method depends on knife settings